From 50c4734fb8233f4d82feb7ebf6fc06347b577f3d Mon Sep 17 00:00:00 2001 From: p53209761 Date: Thu, 30 May 2024 10:13:00 +0800 Subject: [PATCH] Delete .pre-commit-config.yaml --- .pre-commit-config.yaml | 47 ----------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 3552b72a0..000000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -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]