Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas committed Jan 30, 2024
1 parent a064e44 commit 7a2ce7b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def tests(session, django):
@nox.session
def coverage(session):
session.install(".[dev]")
session.run("python", "-m", "pytest", "--cov=django_twc_toolbox")
session.run("python", "-m", "pytest", "--cov=django_q_registry")

try:
summary = os.environ["GITHUB_STEP_SUMMARY"]
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ omit = [
]
source = ["django_q_registry"]

[tool.django-stubs]
django_settings_module = "tests.settings"
strict_settings = false

[tool.hatch.build]
exclude = [
".github/*",
Expand Down Expand Up @@ -139,6 +143,12 @@ ignore_errors = true
ignore_missing_imports = true
module = "tests.*"

[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"django_q.*"
]

[tool.mypy_django_plugin]
ignore_missing_model_attributes = true

Expand Down

0 comments on commit 7a2ce7b

Please sign in to comment.