Skip to content

Commit

Permalink
chore: add black and related ruff ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Mar 28, 2023
1 parent ac50843 commit c8ebdc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[tool.ruff]
target-version = "py37"
select = ["E", "F", "I"]
ignore = [
"E50", # black
"E70", # black
]
src = ["src", "tests"]

[tool.mypy]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
},
extras_require={
'dev': [
'black ~= 23.1.0',
'mypy ~= 1.0',
'types-setuptools',
'ruff ~= 0.0.254',
Expand Down

0 comments on commit c8ebdc4

Please sign in to comment.