forked from graphnet-team/graphnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0e64d1
commit 3813b5e
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
- id: black | ||
name: black | ||
description: "Black: The uncompromising Python code formatter" | ||
entry: black | ||
language: python | ||
minimum_pre_commit_version: 2.9.2 | ||
require_serial: true | ||
types_or: [python, pyi] | ||
|
||
- id: flake8 | ||
name: flake8 | ||
description: '`flake8` is a command-line utility for enforcing style consistency across Python projects.' | ||
entry: flake8 | ||
language: python | ||
types: [python] | ||
require_serial: true | ||
|
||
- id: docformatter | ||
name: docformatter | ||
description: 'Formats docstrings to follow PEP 257.' | ||
entry: docformatter | ||
args: [-i] | ||
language: python | ||
types: [python] | ||
|
||
- id: pydocstyle | ||
name: pydocstyle | ||
description: pydocstyle is a static analysis tool for checking compliance with Python docstring conventions. | ||
entry: pydocstyle | ||
language: python | ||
types: [python] | ||
|
||
- id: mypy | ||
name: mypy | ||
description: '' | ||
entry: mypy | ||
language: python | ||
'types_or': [python, pyi] | ||
args: ["--ignore-missing-imports", "--scripts-are-modules"] | ||
require_serial: true | ||
additional_dependencies: [] | ||
minimum_pre_commit_version: '2.9.2' | ||
|