File tree 2 files changed +34
-29
lines changed
2 files changed +34
-29
lines changed Original file line number Diff line number Diff line change 4
4
# All checks can be run locally via `make pr`
5
5
6
6
repos :
7
- - repo : https://github.com/pre-commit/pre-commit-hooks
8
- rev : v2.4.0
9
- hooks :
10
- - id : check-merge-conflict
11
- - id : trailing-whitespace
12
- - id : end-of-file-fixer
13
- - id : check-toml
14
- - repo : local
15
- hooks :
16
- - id : black
17
- name : formatting::black
18
- entry : poetry run black
19
- language : system
20
- types : [python]
21
- - id : isort
22
- name : formatting::isort
23
- entry : poetry run isort
24
- language : system
25
- types : [python]
26
- - repo : local
27
- hooks :
28
- - id : flake8
29
- name : linting::flake8
30
- entry : poetry run flake8
31
- language : system
32
- types : [python]
33
- exclude : example
7
+ - repo : https://github.com/pre-commit/pre-commit-hooks
8
+ rev : v2.4.0
9
+ hooks :
10
+ - id : check-merge-conflict
11
+ - id : trailing-whitespace
12
+ - id : end-of-file-fixer
13
+ - id : check-toml
14
+ - repo : local
15
+ hooks :
16
+ - id : black
17
+ name : formatting::black
18
+ entry : poetry run black
19
+ language : system
20
+ types : [python]
21
+ - id : isort
22
+ name : formatting::isort
23
+ entry : poetry run isort
24
+ language : system
25
+ types : [python]
26
+ - repo : local
27
+ hooks :
28
+ - id : flake8
29
+ name : linting::flake8
30
+ entry : poetry run flake8
31
+ language : system
32
+ types : [python]
33
+ exclude : example
34
+ - repo : https://github.com/igorshubovych/markdownlint-cli
35
+ rev : " 11c08644ce6df850480d98f628596446a526cbc6" # frozen: v0.31.1
36
+ hooks :
37
+ - id : markdownlint
38
+ args : ["--fix"]
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ lint: format
17
17
poetry run flake8 aws_lambda_powertools/* tests/*
18
18
19
19
lint-docs :
20
- docker run -v ${PWD} :/markdown 06kellyjac/markdownlint-cli:0.28.1-alpine " docs"
20
+ docker run -v ${PWD} :/markdown 06kellyjac/markdownlint-cli " docs"
21
21
22
22
lint-docs-fix :
23
- docker run -v ${PWD} :/markdown 06kellyjac/markdownlint-cli:0.28.1-alpine --fix " docs"
23
+ docker run -v ${PWD} :/markdown 06kellyjac/markdownlint-cli --fix " docs"
24
24
25
25
test :
26
26
poetry run pytest -m " not perf" --cov=aws_lambda_powertools --cov-report=xml
You can’t perform that action at this time.
0 commit comments