Skip to content

Commit 5078b2e

Browse files
committed
Add ruff config
1 parent 152de23 commit 5078b2e

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

pyproject.toml

+2-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,2 @@
1-
[tool.black]
2-
line-length = 120
3-
target-version = ['py37']
4-
include = '\.pyi?$'
5-
exclude = '''
6-
(
7-
/(
8-
\.eggs # exclude a few common directories in the
9-
| \.git # root of the project
10-
| \.hg
11-
| \.mypy_cache
12-
| \.tox
13-
| \.venv
14-
| _build
15-
| buck-out
16-
| build
17-
| dist
18-
)/
19-
)
20-
'''
1+
[tool.ruff]
2+
lint.ignore = ["F403", "E501", "N802", "N803", "N806", "C901", "D100", "D102", "D102", "D10"]

0 commit comments

Comments
 (0)