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

Commit

Permalink
Reformat .pre-commit-config.yaml (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhijian Liu authored Nov 24, 2021
1 parent 897b2c9 commit d3fda52
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
name: (Common) Remove trailing whitespaces
- id: mixed-line-ending
name: (Common) Fix mixed line ending
args: ['--fix=lf']
args: [--fix=lf]
- id: end-of-file-fixer
name: (Common) Remove extra EOF newlines
- id: check-merge-conflict
Expand All @@ -15,7 +15,7 @@ repos:
name: (Common) Sort "requirements.txt"
- id: fix-encoding-pragma
name: (Python) Remove encoding pragmas
args: ['--remove']
args: [--remove]
- id: double-quote-string-fixer
name: (Python) Fix double-quoted strings
- id: debug-statements
Expand All @@ -36,7 +36,7 @@ repos:
hooks:
- id: pyupgrade
name: (Python) Update syntax for newer versions
args: ['--py36-plus']
args: [--py36-plus]
- repo: https://github.com/google/yapf
rev: v0.31.0
hooks:
Expand All @@ -57,10 +57,18 @@ repos:
hooks:
- id: flake8
name: (Python) Check with flake8
additional_dependencies: [flake8-bugbear, flake8-comprehensions, flake8-docstrings, flake8-executable, flake8-quotes]
additional_dependencies:
- flake8-bugbear
- flake8-comprehensions
- flake8-docstrings
- flake8-executable
- flake8-quotes
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.902
hooks:
- id: mypy
name: (Python) Check with mypy
additional_dependencies: [tokenize-rt, types-pyyaml, types-toml]
additional_dependencies:
- tokenize-rt
- types-pyyaml
- types-toml

0 comments on commit d3fda52

Please sign in to comment.