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

Commit

Permalink
add pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
PrettyWood authored and ToucanTokar committed Feb 11, 2022
1 parent dfc9b3f commit ab921d4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: system
name: black
entry: poetry run black
types: [python]
language: system
- id: system
name: isort
entry: poetry run isort
types: [python]
language: system
- id: mypy
name: mypy
entry: poetry run mypy
language: system
types: [python]
require_serial: true
verbose: true

0 comments on commit ab921d4

Please sign in to comment.