Delete .pre-commit-config.yaml
This commit is contained in:
parent
f07c3e9ee8
commit
50c4734fb8
|
@ -1,47 +0,0 @@
|
||||||
|
|
||||||
- id: pyproject-fmt
|
|
||||||
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
|
|
||||||
additional_dependencies: ["tox>=4.9"]
|
|
||||||
- repo: local
|
|
||||||
hooks:
|
|
||||||
- id: pylint
|
|
||||||
name: pylint
|
|
||||||
entry: pylint
|
|
||||||
language: system
|
|
||||||
types: [python]
|
|
||||||
args: ["-rn", "-sn", "--fail-on=I"]
|
|
||||||
stages: [manual]
|
|
||||||
- id: rst
|
|
||||||
name: rst
|
|
||||||
entry: rst-lint --encoding utf-8
|
|
||||||
files: ^(RELEASING.rst|README.rst|TIDELIFT.rst)$
|
|
||||||
language: python
|
|
||||||
additional_dependencies: [pygments, restructuredtext_lint]
|
|
||||||
- id: changelogs-rst
|
|
||||||
name: changelog filenames
|
|
||||||
language: fail
|
|
||||||
entry: 'changelog files must be named ####.(breaking|bugfix|deprecation|doc|feature|improvement|trivial|vendor).rst'
|
|
||||||
exclude: changelog/(\d+\.(breaking|bugfix|deprecation|doc|feature|improvement|trivial|vendor).rst|README.rst|_template.rst)
|
|
||||||
files: ^changelog/
|
|
||||||
- id: py-deprecated
|
|
||||||
name: py library is deprecated
|
|
||||||
language: pygrep
|
|
||||||
entry: >
|
|
||||||
(?x)\bpy\.(
|
|
||||||
_code\.|
|
|
||||||
builtin\.|
|
|
||||||
code\.|
|
|
||||||
io\.|
|
|
||||||
path\.local\.sysfind|
|
|
||||||
process\.|
|
|
||||||
std\.|
|
|
||||||
error\.|
|
|
||||||
xml\.
|
|
||||||
)
|
|
||||||
types: [python]
|
|
||||||
- id: py-path-deprecated
|
|
||||||
name: py.path usage is deprecated
|
|
||||||
exclude: docs|src/_pytest/deprecated.py|testing/deprecated_test.py|src/_pytest/legacypath.py
|
|
||||||
language: pygrep
|
|
||||||
entry: \bpy\.path\.local
|
|
||||||
types: [python]
|
|
Loading…
Reference in New Issue