diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 727d2c410..7ef11b6e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,12 +50,12 @@ repos: - 'prettier-plugin-organize-imports@4.3.0' # Python hooks - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.5 + rev: v0.16.7 hooks: - id: ruff-check - id: ruff-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.28.1" + rev: "v2.29.4" hooks: - id: pyproject-fmt additional_dependencies: [tomli] diff --git a/pyproject.toml b/pyproject.toml index 1317146d3..38a50438e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,9 @@ [project] name = "paperless-ngx" version = "3.2.1" -description = "A community-supported supercharged document management system: scan, index and archive all your physical documents" +description = """\ + A community-supported supercharged document management system: scan, index and archive all your physical documents\ + """ readme = "README.md" requires-python = ">=3.11" classifiers = [ @@ -10,6 +12,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", ] # TODO: Move certain things to groups and then utilize that further # This will allow testing to not install a webserver, mysql, etc @@ -271,9 +274,9 @@ plugins = [ ] [tool.pyrefly] -baseline = ".pyrefly-baseline.json" python-platform = "linux" search-path = [ "src" ] +baseline = ".pyrefly-baseline.json" [tool.django-stubs] django_settings_module = "paperless.settings" @@ -334,13 +337,13 @@ source = [ omit = [ "*/tests/*", "manage.py", - "paperless/wsgi.py", "paperless/auth.py", + "paperless/wsgi.py", ] [tool.coverage.report] exclude_also = [ - "if settings.AUDIT_LOG_ENABLED:", "if AUDIT_LOG_ENABLED:", + "if settings.AUDIT_LOG_ENABLED:", "if TYPE_CHECKING:", ]