Skip to content

Commit

Permalink
feat: add ruff config flake8-builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
seyLu committed Oct 23, 2023
1 parent ceaeae3 commit 284c8bb
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,13 @@ path = "src/ghlabel/__about__.py"
select = [
"E", # Pyflakes
"F", # Pycodestyle
"A", # flake8-builtins
"B", # flake8-bugbear
"S", # flake8-bandit
"I001" # isort
"I" # isort
]

# Never enforce `E501` (line length violations).
ignore = ["E501"]

# Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]

# Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`.
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]
"path/to/file.py" = ["E402"]


[tool.mypy]
strict = "True"
Expand Down

0 comments on commit 284c8bb

Please sign in to comment.