File tree Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Original file line number Diff line number Diff line change
1
+ [flake8]
2
+ max-line-length = 88
Original file line number Diff line number Diff line change 7
7
- id : end-of-file-fixer
8
8
- id : file-contents-sorter
9
9
files : .gitignore
10
+ - repo : https://github.com/asottile/pyupgrade
11
+ rev : v1.26.1
12
+ hooks :
13
+ - id : pyupgrade
14
+ - repo : https://github.com/asottile/reorder_python_imports
15
+ rev : v1.9.0
16
+ hooks :
17
+ - id : reorder-python-imports
18
+ - repo : https://github.com/psf/black
19
+ rev : 19.10b0
20
+ hooks :
21
+ - id : black
10
22
- repo : https://github.com/prettier/prettier
11
23
D020
rev : 1.19.1
12
24
hooks :
13
25
- id : prettier
26
+ - repo : https://github.com/PyCQA/flake8
27
+ rev : 3.7.9
28
+ hooks :
29
+ - id : flake8
Original file line number Diff line number Diff line change 3
3
4
4
@task
5
5
def lint (c ):
6
- c .run (' poetry run pre-commit run -a' )
7
- c .run (' poetry run yamllint --strict .' )
8
- c .run (' npm run lint:css' )
9
- c .run (' npm run lint:js' )
10
- c .run (' npm run lint:md' )
11
- c .run (' npm run lint:pug' )
6
+ c .run (" poetry run pre-commit run -a" )
7
+ c .run (" poetry run yamllint --strict ." )
8
+ c .run (" npm run lint:css" )
9
+ c .run (" npm run lint:js" )
10
+ c .run (" npm run lint:md" )
11
+ c .run (" npm run lint:pug" )
12
12
c .run ("vale '--glob=*.md' docs" )
You can’t perform that action at this time.
0 commit comments