Changeset View
Changeset View
Standalone View
Standalone View
.pre-commit-config.yaml
Show All 16 Lines | - repo: local | ||||
- id: mypy | - id: mypy | ||||
name: mypy | name: mypy | ||||
entry: mypy | entry: mypy | ||||
args: [swh] | args: [swh] | ||||
pass_filenames: false | pass_filenames: false | ||||
language: system | language: system | ||||
types: [python] | types: [python] | ||||
- repo: https://github.com/python/black | |||||
rev: 19.10b0 | |||||
hooks: | |||||
- id: black | |||||
olasd: Should probably be in the pyproject.toml? | |||||
# unfortunately, we are far from being able to enable this... | # unfortunately, we are far from being able to enable this... | ||||
# - repo: https://github.com/PyCQA/pydocstyle.git | # - repo: https://github.com/PyCQA/pydocstyle.git | ||||
# rev: 4.0.0 | # rev: 4.0.0 | ||||
# hooks: | # hooks: | ||||
# - id: pydocstyle | # - id: pydocstyle | ||||
# name: pydocstyle | # name: pydocstyle | ||||
# description: pydocstyle is a static analysis tool for checking compliance with Python docstring conventions. | # description: pydocstyle is a static analysis tool for checking compliance with Python docstring conventions. | ||||
# entry: pydocstyle --convention=google | # entry: pydocstyle --convention=google | ||||
# language: python | # language: python | ||||
# types: [python] | # types: [python] | ||||
# black requires py3.6+ | |||||
#- repo: https://github.com/python/black | |||||
# rev: 19.3b0 | |||||
# hooks: | |||||
# - id: black | |||||
# language_version: python3 | |||||
#- repo: https://github.com/asottile/blacken-docs | #- repo: https://github.com/asottile/blacken-docs | ||||
# rev: v1.0.0-1 | # rev: v1.0.0-1 | ||||
# hooks: | # hooks: | ||||
# - id: blacken-docs | # - id: blacken-docs | ||||
# additional_dependencies: [black==19.3b0] | # additional_dependencies: [black==19.3b0] |
Should probably be in the pyproject.toml?