Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust type safe refactor #327

Merged
44 changes: 25 additions & 19 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,14 @@ repos:
rev: v1.0
hooks:
- id: fmt
name: "cargo-fmt"
- id: cargo-check
- id: clippy
- repo: https://github.com/hadialqattan/pycln
rev: v2.1.1
hooks:
- id: pycln
args: [--config=pyproject.toml]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
Expand All @@ -78,25 +84,25 @@ repos:
rev: v0.3.0
hooks:
- id: flake8-markdown
- repo: https://github.com/ariebovenberg/slotscheck
rev: v0.14.1
hooks:
- id: slotscheck
exclude: "^(?!starlite/)"
additional_dependencies:
[
jinja2,
mako,
orjson,
pydantic,
pydantic_factories,
pydantic_openapi_schema,
pyyaml,
requests,
sqlalchemy,
starlette,
]
args: [--no-strict-imports]
# - repo: https://github.com/ariebovenberg/slotscheck
# rev: v0.14.1
# hooks:
# - id: slotscheck
# exclude: "^(?!starlite/)"
# additional_dependencies:
# [
# jinja2,
# mako,
# orjson,
# pydantic,
# pydantic_factories,
# pydantic_openapi_schema,
# pyyaml,
# requests,
# sqlalchemy,
# starlette,
# ]
# args: [--no-strict-imports]
- repo: https://github.com/pycqa/pylint
rev: "v2.14.5"
hooks:
Expand Down
Loading