Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 9 additions & 28 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ build-backend = "hatchling.build"
requires = ["hatchling"]

[project]
authors = [
{name = "Josh Thomas", email = "[email protected]"}
]
authors = [{name = "Josh Thomas", email = "[email protected]"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
Expand All @@ -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 = []
Expand Down Expand Up @@ -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"]
Expand All @@ -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]
Expand All @@ -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"]
Expand All @@ -132,20 +118,15 @@ 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

[[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
Expand Down