Skip to content

Commit

Permalink
Add precommit configurations
Browse files Browse the repository at this point in the history
Related to space-ros#40
  • Loading branch information
franklinselva committed Oct 18, 2024
1 parent 0ad2383 commit 86c1c3a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
language_version: python3.10

- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
language_version: python3.10

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
files: \.(md|rst)$

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.0
hooks:
- id: mypy
language_version: python3.10

0 comments on commit 86c1c3a

Please sign in to comment.