This repository was archived by the owner on Feb 8, 2023. It is now read-only.
Commit e5a3047 1 parent 5f40d4b commit e5a3047 Copy full SHA for e5a3047
File tree 1 file changed +8
-11
lines changed
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 41
41
- id: autoflake
42
42
name: autoflake
43
43
entry: poetry run autoflake
44
- language: python
44
+ language: system
45
45
types: [python]
46
46
require_serial: true
47
47
args:
@@ -55,29 +55,27 @@ repos:
55
55
name: pyupgrade
56
56
description: Automatically upgrade syntax for newer versions.
57
57
entry: poetry run pyupgrade
58
- language: python
58
+ language: system
59
59
types: [python]
60
60
- id: black
61
61
name: black
62
62
description: "Black: The uncompromising Python code formatter"
63
63
entry: poetry run black
64
- language: python
64
+ language: system
65
65
minimum_pre_commit_version: 2.9.2
66
66
require_serial: true
67
67
types_or: [python, pyi]
68
68
- id: blacken-docs
69
69
name: blacken-docs
70
70
description: Run `black` on python code blocks in documentation files
71
71
entry: poetry run blacken-docs
72
- language: python
73
- language_version: python3
72
+ language: system
74
73
files: '\.(rst|md|markdown|py|tex)$'
75
74
- id: isort
76
75
name: isort
77
76
entry: poetry run isort
78
77
require_serial: true
79
- language: python
80
- language_version: python3
78
+ language: system
81
79
types_or: [cython, pyi, python]
82
80
minimum_pre_commit_version: '2.9.2'
83
81
args:
88
86
name: flake8 except __init__.py
89
87
description: '`flake8` is a command-line utility for enforcing style consistency across Python projects.'
90
88
entry: poetry run flake8
91
- language: python
89
+ language: system
92
90
types: [python]
93
91
require_serial: true
94
92
exclude: /__init__\.py$
@@ -102,14 +100,13 @@ repos:
102
100
name: pydocstyle
103
101
description: pydocstyle is a static analysis tool for checking compliance with Python docstring conventions.
104
102
entry: poetry run pydocstyle
105
- language: python
103
+ language: system
106
104
types: [python]
107
105
- id: poetry-check
108
106
name: poetry-check
109
107
description: run poetry check to validate config
110
108
entry: poetry check
111
- language: python
112
- language_version: python3
109
+ language: system
113
110
pass_filenames: false
114
111
files: ^pyproject.toml$
115
112
{%- else %}
You can’t perform that action at this time.
0 commit comments