Skip to content

Commit 6c1763f

Browse files
committed
lint
1 parent d72a17a commit 6c1763f

File tree

5 files changed

+12
-15
lines changed

5 files changed

+12
-15
lines changed

.github/workflows/code_coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
python-version: 3.7
1818
- name: Install dependencies
1919
run: |
20-
make ci
20+
make env
2121
- name: Coverage
2222
run: |
2323
make coverage

.github/workflows/lint_and_test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
python-version: 3.7
1414
- name: Install dependencies
1515
run: |
16-
make ci
16+
make env
1717
- name: Lint
1818
working-directory: ${{ github.workspace }}
1919
run: |
@@ -29,8 +29,7 @@ jobs:
2929
python-version: 3.7
3030
- name: Install dependencies
3131
run: |
32-
python -m pip install --upgrade pip
33-
pip install pytest geopandas .
32+
make env
3433
- name: Test
3534
working-directory: ${{ github.workspace }}
3635
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
python-version: 3.7
1818
- name: Install dependencies
1919
run: |
20-
make ci
20+
make env
2121
- name: Lint and Test
2222
run: |
2323
make lint

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ help:
66
@echo " - lint : checks code style"
77
@echo " - docs : creates documentation in html"
88

9-
dev:
9+
env:
10+
python -m pip install --upgrade pip
1011
pip install -r requirements-dev.txt
11-
pre-commit install
1212

13-
ci:
14-
python -m pip install --upgrade pip
15-
pip install flake8 pep8-naming flake8-bugbear flake8-docstrings pytest coverage geopandas
13+
dev: env
1614
pip install .
15+
pre-commit install
1716

1817
clean:
1918
rm -rf `find . -type d -name .pytest_cache`

requirements-dev.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
-e .
2-
pre-commit
31
bump2version
2+
coverage
43
flake8
5-
pep8-naming
64
flake8-bugbear
75
flake8-docstrings
8-
pytest
9-
coverage
106
geopandas
7+
pep8-naming
8+
pre-commit
9+
pytest
1110
sphinx
1211
sphinx_rtd_theme

0 commit comments

Comments
 (0)