Skip to content

Commit 7257b57

Browse files
chore(deps): update dependency ruff to v0.4.0 (#48)
* chore(deps): update dependency ruff to v0.4.0 * Configure ruff 0.4.0 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kieran Ryan <[email protected]>
1 parent 2ee2af8 commit 7257b57

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ show_complexity = true
8282
show_mi = true
8383
total_average = true
8484

85-
[tool.ruff]
85+
[tool.ruff.lint]
8686
ignore = [
8787
"ANN",
8888
"ARG",
@@ -101,10 +101,10 @@ select = [
101101
"I002",
102102
]
103103

104-
[tool.ruff.isort]
104+
[tool.ruff.lint.isort]
105105
required-imports = [
106106
"from __future__ import annotations",
107107
]
108108

109-
[tool.ruff.pydocstyle]
109+
[tool.ruff.lint.pydocstyle]
110110
convention = "google"

pysamplelib/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Top-level package of `pysamplelib`."""
2+
23
from __future__ import annotations
34

45
from .__version__ import __version__

pysamplelib/__version__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
This package uses Semantic Versioning, see: https://semver.org.
44
"""
5+
56
from __future__ import annotations
67

78
MAJOR = 0

pysamplelib/fizzbuzz.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""FizzBuzz implementation."""
2+
23
from __future__ import annotations
34

45
import collections

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ pyprojectsort==0.3.0
77
pyupgrade==3.15.2
88
radon[toml]==6.0.1
99
removestar==1.5
10-
ruff==0.2.2
10+
ruff==0.4.0

0 commit comments

Comments
 (0)