Skip to content

Commit

Permalink
Merge pull request #13 from jurismarches/mm-us_ca
Browse files Browse the repository at this point in the history
Allow to detect the US state code and CA provinde code + huge refacto to make the code more uniform
  • Loading branch information
mmoriniere authored Jan 11, 2021
2 parents 50eef33 + cf34a72 commit f898dc8
Show file tree
Hide file tree
Showing 22 changed files with 3,634 additions and 2,157 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ dist
virtenv
virtualenv

htmlcov
.coverage
.pytest*
*env*
.vscode
.vscode
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
- "3.9"

install:
- pip install -r requirements_test.txt
- pip install codecov

script:
- make styles_check
- pytest

after_success:
Expand Down
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
tests:
make styles_check
pytest -s
python -m doctest README.md

clean:
find . -name "*.pyc" -delete

styles:
black .
isort --ws .
flake8

styles_check:
black . --check
isort --ws --check-only .
flake8
Loading

0 comments on commit f898dc8

Please sign in to comment.