Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
[project] Add local CI\CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu1nel committed Feb 6, 2024
1 parent adbc56d commit b8a95f9
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: check-toml
- id: check-xml
- id: check-json
- id: check-ast
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-added-large-files
- id: check-byte-order-marker
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: ruff
name: ruff
entry: poetry run ruff check .
require_serial: true
language: system
types: [python]
- id: mypy
name: mypy
entry: poetry run mypy .
require_serial: true
language: system
types: [python]
pass_filenames: false
- id: pyright
name: pyright
entry: poetry run pyright .
require_serial: true
language: system
types: [python]
pass_filenames: false
- id: black
name: black
entry: poetry run black .
language: system
types: [python]

0 comments on commit b8a95f9

Please sign in to comment.