mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +00:00
67cdc52212
feat(mypy.ini): add new mypy.ini file for better type checking configuration fix(schema.prisma): make created_at field in Users model nullable to handle users without creation time feat(schema.prisma): add color field to Roles model to store role's color information refactor(pyproject.toml): rearrange linting configuration for better readability and remove redundant mypy configuration
14 lines
315 B
YAML
14 lines
315 B
YAML
repos:
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: v0.3.6
|
|
hooks:
|
|
# Run the linter.
|
|
- id: ruff
|
|
args: [--fix]
|
|
# Run the formatter.
|
|
- id: ruff-format
|
|
|
|
# - repo: https://github.com/RobertCraigie/pyright-python
|
|
# rev: v1.1.355
|
|
# hooks:
|
|
# - id: pyright
|