Skip to content

Commit 7075013

Browse files
committed
✏️ Address pyproject lint
1 parent 6ff9c43 commit 7075013

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

pyproject.toml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ dependencies = [
4747
"treq",
4848
"twisted",
4949
]
50-
5150
urls.Changelog = "https://github.com/akrherz/pyWWA/blob/main/CHANGELOG.md"
5251
urls.Documentation = "https://github.com/akrherz/pyWWA"
5352
urls.Homepage = "https://mesonet.agron.iastate.edu"
@@ -96,23 +95,18 @@ version_scheme = "post-release"
9695
[tool.ruff]
9796
target-version = "py310"
9897
line-length = 79
99-
10098
lint.select = [
101-
"A", # builtins
102-
"B", # bugbear
103-
"E", # pycodestyle
104-
"ERA", # commented out code
105-
"F", # pyflakes
106-
# "FIX", # FIXME
107-
"G", # logging-format
99+
"A", # builtins
100+
"B", # bugbear
101+
"E", # pycodestyle
102+
"ERA", # commented out code
103+
"F", # pyflakes
108104
"I", # isort
109105
"NPY", # numpy
110106
"PLW", # pylint-warning
111107
"RET", # return statements
112108
"S324", # security
113109
"T", # print
114-
# "UP", # pyupgrade
115-
"W", # pycodestyle
116110
]
117111
lint.per-file-ignores."goes/*.py" = [
118112
"T201",
@@ -124,7 +118,7 @@ lint.per-file-ignores."util/*.py" = [
124118
"T201",
125119
]
126120

127-
[tool.pytest.ini_options]
128-
filterwarnings = [
121+
[tool.pytest]
122+
ini_options.filterwarnings = [
129123
"ignore:numpy.ndarray size changed:RuntimeWarning",
130124
]

0 commit comments

Comments
 (0)