Skip to content

Commit 412957c

Browse files
authored
us 3.0 release (#51)
* jellyfish 0.7.2 and drop Python 2 * importlib_metdata < python 3.8 * add optional DC statehood * type annotations
1 parent 9e7e1ed commit 412957c

File tree

9 files changed

+343
-125
lines changed

9 files changed

+343
-125
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [2.7, 3.6, 3.7, 3.8]
12+
python-version: [3.6, 3.7, 3.8]
1313

1414
steps:
1515
- uses: actions/checkout@v1
@@ -22,14 +22,14 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
pipenv install --dev --python `which python`
25-
# - name: Linting and formatting
26-
# run: |
27-
# # stop the build if there are Python syntax errors or undefined names
28-
# pipenv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
29-
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
30-
# pipenv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
31-
# # check formatting
32-
# # pipenv run black --check us
25+
- name: Linting and formatting
26+
run: |
27+
# stop the build if there are Python syntax errors or undefined names
28+
pipenv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
29+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
30+
pipenv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
31+
# check formatting
32+
pipenv run black --check us
3333
- name: Test with pytest
3434
run: |
3535
pipenv run pytest

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
.env
2+
13
# Compilation and caching
24
.cache/
5+
.mypy_cache/
36
.pytest_cache/
47
.tox/
58
__pycache__/

Pipfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7-
pytest = "<3.3"
7+
black = "==19.10b0"
8+
flake8 = "*"
9+
importlib_metadata = {version = "*", markers = "python_version < '3.8'"}
10+
pytest = "*"
811
pytz = "*"
912
requests = "<3.0"
10-
flake8 = "*"
1113

1214
[packages]
13-
jellyfish = "==0.6.1"
15+
jellyfish = "==0.7.2"
1416

1517

1618
[pipenv]

Pipfile.lock

Lines changed: 159 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)