We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc560b commit d1fbbbeCopy full SHA for d1fbbbe
.pre-commit-config.yaml
@@ -0,0 +1,28 @@
1
+---
2
+default_language_version:
3
+ # force all unspecified python hooks to run python3
4
+ python: python3
5
+repos:
6
+ - repo: https://github.com/pre-commit/pre-commit-hooks
7
+ rev: v3.4.0
8
+ hooks:
9
+ - id: trailing-whitespace
10
+ - id: mixed-line-ending
11
+ args: ['--fix', 'lf']
12
+ exclude: '.*\.(svg)$'
13
+ - id: check-byte-order-marker
14
+ - id: check-executables-have-shebangs
15
+ - id: check-merge-conflict
16
+ - id: debug-statements
17
+ - id: check-yaml
18
+ files: .*\.(yaml|yml)$
19
+ - repo: local
20
21
+ - id: flake8
22
+ name: flake8
23
+ additional_dependencies:
24
+ - hacking>=3.0.1,<3.1.0
25
+ language: python
26
+ entry: flake8
27
+ files: '^.*\.py$'
28
+ exclude: '^(doc|releasenotes|tools)/.*$'
0 commit comments