diff --git a/pyproject.toml b/pyproject.toml index 0caccd6..1ab2b15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,11 +3,9 @@ build-backend = "hatchling.build" requires = ["hatchling"] [project] -authors = [ - {name = "Josh Thomas", email = "josh@joshthomas.dev"} -] +authors = [{name = "Josh Thomas", email = "josh@joshthomas.dev"}] classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", "Framework :: Django", "Framework :: Django :: 3.2", "Framework :: Django :: 4.2", @@ -24,9 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython" ] -dependencies = [ - "django>=3.2" -] +dependencies = ["django>=3.2"] description = "A simple, flexible, and extensible navigation menu for Django." dynamic = ["version"] keywords = [] @@ -80,12 +76,8 @@ tag = false version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]" [tool.bumpver.file_patterns] -"src/django_simple_nav/__init__.py" = [ - '__version__ = "{version}"' -] -"tests/test_version.py" = [ - 'assert __version__ == "{version}"' -] +"src/django_simple_nav/__init__.py" = ['__version__ = "{version}"'] +"tests/test_version.py" = ['assert __version__ == "{version}"'] [tool.coverage.paths] source = ["src"] @@ -102,10 +94,7 @@ exclude_lines = [ fail_under = 75 [tool.coverage.run] -omit = [ - "src/django_simple_nav/migrations/*", - "tests/*" -] +omit = ["src/django_simple_nav/migrations/*", "tests/*"] source = ["django_simple_nav"] [tool.django-stubs] @@ -116,10 +105,7 @@ strict_settings = false indent = 2 [tool.hatch.build] -exclude = [ - ".*", - "Justfile" -] +exclude = [".*", "Justfile"] [tool.hatch.build.targets.wheel] packages = ["src/django_simple_nav"] @@ -132,9 +118,7 @@ check_untyped_defs = true exclude = "docs/.*\\.py$" mypy_path = "src/" no_implicit_optional = true -plugins = [ - "mypy_django_plugin.main" -] +plugins = ["mypy_django_plugin.main"] warn_redundant_casts = true warn_unused_configs = true warn_unused_ignores = true @@ -142,10 +126,7 @@ warn_unused_ignores = true [[tool.mypy.overrides]] ignore_errors = true ignore_missing_imports = true -module = [ - "django_simple_nav.*.migrations.*", - "tests.*" -] +module = ["django_simple_nav.*.migrations.*", "tests.*"] [tool.mypy_django_plugin] ignore_missing_model_attributes = true