Skip to content

Commit

Permalink
hooks.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aske-Rosted committed Oct 24, 2024
1 parent c0e64d1 commit 3813b5e
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .pre-commit-hooks.yaml
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'

0 comments on commit 3813b5e

Please sign in to comment.