[project] name = "warchron" version = "1.0.0" description = "A simple local app to track players' campaigns for tabletop wargames." requires-python = ">=3.12" [build-system] requires = ["setuptools>=61"] build-backend = "setuptools.build_meta" [tool.setuptools] package-dir = {"" = "src"} [tool.setuptools.packages.find] where = ["src"] # === BLACK CONFIGURATION (FORMATTER) === [tool.black] line-length = 88 target-version = ['py312'] include = '\.pyi?$' # File types to format (.py and .pyi) extend-exclude = ''' /( # directories \.eggs | \.git | \.venv | venv | build | dist )/ ''' [tool.flake8] max-line-length = 88 extend-ignore = ["E203", "W503"] exclude = [ ".git", "__pycache__", ".venv", "build", "dist", "src/warchron/view/ui" ] [tool.mypy] python_version = "3.12" mypy_path = "src" strict = true explicit_package_bases = true disallow_untyped_decorators = false exclude = [ ".git", "__pycache__", ".venv", "build", "dist", "src/warchron/view/ui" ] [[tool.mypy.overrides]] module = "PyQt6.*" ignore_missing_imports = true [[tool.mypy.overrides]] module = "warchron.view.ui.*" ignore_errors = true