Skip to content

Commit

Permalink
fix precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
barneydobson committed Oct 23, 2024
1 parent 5270a77 commit fe1f84d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/reference/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Summary

* [rse_competencies_toolkit](rse_competencies_toolkit\index.md)
2 changes: 2 additions & 0 deletions docs/reference/rse_competencies_toolkit/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Index

::: rse_competencies_toolkit
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys


def main():
def main() -> None:
"""Run administrative tasks."""
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "rse_competencies_toolkit.settings")
try:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ pydocstyle.convention = "google"

[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D100", "D104"] # Missing docstring in public module, Missing docstring in public package

[tool.codespell]
ignore-words-list = "ect"
4 changes: 2 additions & 2 deletions rse_competencies_toolkit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []
ALLOWED_HOSTS: list[str]


# Application definition
Expand Down Expand Up @@ -85,7 +85,7 @@

AUTH_PASSWORD_VALIDATORS = [
{
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator",
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator", # noqa: E501
},
{
"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",
Expand Down

0 comments on commit fe1f84d

Please sign in to comment.