Skip to content
Draft
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .all-contributorsrc → .all-contributorsrc.jinja
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"contributorsPerLine": 7,
"projectName": "project-template",
"projectName": "{{project_name}}",
"projectOwner": "litestar-org",
"repoType": "github",
"repoHost": "https://github.com",
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yaml

This file was deleted.

90 changes: 0 additions & 90 deletions .github/workflows/ci.yaml

This file was deleted.

70 changes: 17 additions & 53 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,85 +1,49 @@
default_language_version:
python: "3.11"
python: "3.8"
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.4.0
rev: v3.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-case-conflict
- id: check-toml
- id: debug-statements
exclude: "litestar/middleware/exceptions/middleware.py"
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/pdm-project/pdm
rev: 2.9.2
exclude: "tests/unit/test_openapi/test_typescript_converter/test_converter.py"
- repo: https://github.com/provinzkraut/unasyncd
rev: "v0.7.1"
hooks:
- id: pdm-lock-check
- id: unasyncd
additional_dependencies: ["ruff"]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.290"
rev: "v0.3.5"
hooks:
- id: ruff
args: ["--fix"]
- id: ruff-format
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
exclude: "tests/openapi/typescript_converter/test_converter"
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
args: [--config=./pyproject.toml]
- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
hooks:
- id: blacken-docs
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.3"
hooks:
- id: prettier
exclude: "_templates|.git|.all-contributorsrc"
exclude: "tests/openapi/typescript_converter/test_converter|README.md"
additional_dependencies:
- tomli
- repo: https://github.com/python-formate/flake8-dunder-all
rev: v0.3.0
rev: v0.4.1
hooks:
- id: ensure-dunder-all
exclude: "test*|examples*|tools"
args: ["--use-tuple"]
- repo: https://github.com/ariebovenberg/slotscheck
rev: v0.17.0
hooks:
- id: slotscheck
exclude: "test_*|docs"
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.5.1"
hooks:
- id: mypy
exclude: "test_apps|tools|docs|tests/examples|"
additional_dependencies:
[
annotated_types,
hypothesis,
polyfactory,
pydantic-extra-types,
pydantic>=2,
pytest,
pytest-lazy-fixture,
pytest-mock,
pytest-timeout,
pytest_docker,
redis,
rich,
rich-click,
click,
uvicorn,
]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: "v0.6.8"
rev: "v0.9.1"
hooks:
- id: sphinx-lint
- repo: local
Expand Down
Loading