[tool.ruff] line-length = 120 ignore-init-module-imports = true ignore = [ "G004", # Logging statement uses f-string "EM102", # Exception must not use an f-string literal, assign to variable first "D100", # Missing docstring in public module "D104", # Missing docstring in public package "N812", # Lowercase imported as non lowercase ] select = [ "A", # flake8-builtins "B", # flake8-bugbear "C90", # mccabe "COM", # flake8-commas "D", # pydocstyle "EM", # flake8-errmsg "E", # pycodestyle errors "F", # Pyflakes "G", # flake8-logging-format "I", # isort "N", # pep8-naming "PIE", # flake8-pie "PTH", # flake8-use-pathlib "TD", # flake8-todo "FIX", # flake8-fixme "RET", # flake8-return "RUF", # ruff "S", # flake8-bandit "TCH", # flake8-type-checking "TID", # flake8-tidy-imports "UP", # pyupgrade "W", # pycodestyle warnings ] [tool.ruff.pydocstyle] convention = "google" [tool.ruff.isort] known-first-party = ["pointnet2_ops"] [tool.ruff.per-file-ignores] "__init__.py" = ["F401"] "src/aube/main.py" = ["E402", "F401"] [tool.black] exclude = ''' /( \.git \.venv )/ ''' include = '\.pyi?$' line-length = 120 target-version = ["py310"] [tool.isort] multi_line_output = 3 profile = "black" [tool.mypy] python_version = "3.10" warn_return_any = true warn_unused_configs = true