Skip to content

Commit 43e91ff

Browse files
committed
add ruff linting and py.typed
1 parent c174824 commit 43e91ff

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

orthority/py.typed

Whitespace-only changes.

pyproject.toml

+14-1
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,24 @@ packages = ['orthority']
5050
[tool.setuptools.dynamic]
5151
version = {attr = 'orthority.version.__version__'}
5252

53+
[tool.setuptools.package-data]
54+
orthority = ['py.typed']
55+
5356
[tool.black]
5457
line-length = 100
5558
skip-string-normalization = true
5659

5760
[tool.ruff]
5861
line-length = 100
59-
lint = { extend-select = ['I'] }
6062
format = { quote-style = 'preserve' }
63+
64+
[tool.ruff.lint]
65+
select = [
66+
"B", # flake8-bugbear
67+
"E", # pycodestyle error
68+
"F", # pyflakes
69+
"I", # isort
70+
"UP", # pyupgrade
71+
"W", # pycodestyle warning
72+
"RUF"
73+
]

0 commit comments

Comments
 (0)