File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ check-syntax-errors: .
9
9
@$(call print_pass,$@ :)
10
10
11
11
# # Run linters to check for syntax and style errors.
12
- check-style : $( shell git ls-files " * .py")
12
+ check-style :
13
13
@$(call print_help,$@ :)
14
- @flake8 $?
14
+ @flake8 $( shell git ls-files " * .py")
15
15
@$(call print_pass,$@ :)
16
16
17
17
# # Run static type checkers for type errors.
18
- check-types : openfisca_core openfisca_web_api
18
+ check-types :
19
19
@$(call print_help,$@ :)
20
- @mypy $?
20
+ @mypy src
21
21
@$(call print_pass,$@ :)
22
22
23
23
# # Run code formatters to correct style errors.
24
- format-style : $( shell git ls-files " * .py")
24
+ format-style :
25
25
@$(call print_help,$@ :)
26
- @autopep8 $?
26
+ @autopep8 $( shell find . -name " * .py")
27
27
@$(call print_pass,$@ :)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ test-code: test-core
15
15
# # Run openfisca-core tests.
16
16
test-core : $(shell git ls-files "tests/* .py")
17
17
@$(call print_help,$@ :)
18
- @PYTEST_ADDOPTS=" ${PYTEST_ADDOPTS} --cov=openfisca_core ${pytest_args} " \
18
+ @PYTEST_ADDOPTS=" ${PYTEST_ADDOPTS} --cov=src ${pytest_args} " \
19
19
openfisca test $? \
20
20
${openfisca_args}
21
21
@$(call print_pass,$@ :)
You can’t perform that action at this time.
0 commit comments