diff --git a/examples/example.py b/examples/example.py index 264e199..0d8f9ba 100644 --- a/examples/example.py +++ b/examples/example.py @@ -1,3 +1,4 @@ +# ruff: noqa: INP001 # this file is not part of package import logging import pprint from dataclasses import asdict diff --git a/pyproject.toml b/pyproject.toml index 1e9509e..fcea354 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,17 +36,18 @@ src = ["src"] # consider folder as first-party import [tool.ruff.lint] extend-select = [ - "B", # flake8-bugbear - "D212", # docstring first line should end with period - "D415", # multiline docstring should start at first line - "FA", # forgotten future annotations - "I", # isort - "N", # pep8 naming - "PTH", # pathlib (instead of os.path) - "S", # bandit, security checks - "SIM", # flake8-simplify, for simplified code - "T2", # flake8-print (avoiding prints) - "W", # warning + "B", # flake8-bugbear + "D212", # docstring first line should end with period + "D415", # multiline docstring should start at first line + "FA", # forgotten future annotations + "I", # isort + "INP001", # missing __init__.py files + "N", # pep8 naming + "PTH", # pathlib (instead of os.path) + "S", # bandit, security checks + "SIM", # flake8-simplify, for simplified code + "T2", # flake8-print (avoiding prints) + "W", # warning ] ignore = [ "N818", # error suffix in exception names