Skip to content

Commit

Permalink
minor de-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Aug 31, 2024
1 parent 377d0ab commit 82243e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -163,27 +163,33 @@
"C", # convention
"C4", # flake8-comprehensions
"C90", # mcabe
"COM", # flake8-commas
# "D", # pydocstyle # a big job
# "DTZ", # flake8-datetimez
"E", # pycodestyle
# "EM", # flake8-errmsg
"EXE", # flake8-executable
"F", # Pyflakes
"FA", # flake8-future-annotations
"FBT", # flake8-boolean-trap
# "FURB", # refurb
"G", # flake8-logging-format
"I", # isort
"ICN", # flake8-import-conventions
"INP", # flake8-no-pep420
"LOG", # flake8-logging
# "N", # pep8-naming
# "PERF", # perflint
"PGH", # pygrep hooks
"PIE", #
"PIE", # flake8-pie
# "PL", # pylint
# "PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"PYI", # flake8-pyi
"Q", # flake8-quotes
"RET", # flake8-return
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"S", # flake8-bandit
"SIM", # flake8-simplify
# "SLF", # flake8-self
Expand All @@ -192,10 +198,11 @@
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]

ignore = [
"ANN101", "ANN401", "B011", "G004", "E501", "S101", "SIM102", "SIM114", "UP009"
"ANN101", "ANN401", "B011", "COM812", "G004", "E501", "S101", "SIM102", "SIM114", "UP009"
]
# B011 - Do not call assert False since python -O removes these calls
# E501 - Line too long
Expand Down
1 change: 0 additions & 1 deletion tests/tests_rf/faked_server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from __future__ import annotations

# from . import aiohttp # noqa: F401
from .aiohttp import ClientSession # noqa: F401
from .const import GHOST_ZONE_ID # noqa: F401
from .vendor import FakedServer # noqa: F401

0 comments on commit 82243e4

Please sign in to comment.