Skip to content

Commit 3aa1736

Browse files
committed
Explicitly select ruff rules and ignore some rules
1 parent 4e5dbbf commit 3aa1736

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Repository = "https://github.com/Crimson-Crow/json-numpy.git"
3535
Issues = "https://github.com/Crimson-Crow/json-numpy/issues"
3636

3737
[tool.setuptools]
38-
py-modules= ["json_numpy"]
38+
py-modules = ["json_numpy"]
3939

4040
[tool.setuptools.dynamic]
4141
version = { attr = "json_numpy.__version__" }
@@ -49,8 +49,8 @@ ignore = [".pre-commit-config.yaml"]
4949
target-version = "py38"
5050

5151
[tool.ruff.lint]
52-
select = ["ALL"]
53-
ignore = ["PT027", "NPY002", "D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "ANN101", "ANN401", "COM812", "ISC001"]
52+
select = ["F", "E", "W", "C90", "I", "N", "D", "UP", "YTT", "ANN", "ASYNC", "S", "BLE", "FBT", "B", "COM", "C4", "DTZ", "T10", "EM", "FA", "ISC", "ICN", "LOG", "G", "INP", "PIE", "T20", "PYI", "PT", "Q", "RSE", "RET", "SLF", "SLOT", "SIM", "TID", "TCH", "INT", "ARG", "PTH", "FIX", "ERA", "PGH", "PL", "TRY", "FLY", "NPY", "PERF", "FURB", "RUF"]
53+
ignore = ["PT027", "PT009", "NPY002", "D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "ANN101", "ANN401", "W191", "E111", "E114", "E117", "D206", "D300", "Q000", "Q001", "Q002", "Q003", "COM812", "COM819", "ISC001", "ISC002", "E501"]
5454

5555
[tool.ruff.lint.pydocstyle]
5656
convention = "google"

0 commit comments

Comments
 (0)