Skip to content

Commit

Permalink
First commit after extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
glesica committed Feb 4, 2020
0 parents commit 5e42432
Show file tree
Hide file tree
Showing 28 changed files with 2,640 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea/
*.pyc
.mypy_cache/
__pycache__/
.pyrs990-cache/
*.ipynb_checkpoints/
.DS_Store

19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
help:
@echo analyze - run the type checker
@echo check - run tests
@echo check-fast - run non-network, non-subprocess tests
@echo format - format the code

analyze:
pipenv run mypy . tests/

check:
pipenv run pytest

check-fast:
pipenv run pytest -m "not network and not subprocess"

format:
pipenv run isort --recursive --use-parentheses --trailing-comma -y -w 80
pipenv run autoflake -r --in-place --remove-unused-variables .
pipenv run black -t py38 -l 80 .
26 changes: 26 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
ipython = "*"
pylint = "*"
black = "*"
pytest = "*"
rope = "*"
bandit = "*"
mypy = "*"
isort = "*"
autoflake = "*"

[packages]
requests = "*"
setuptools = "*"
defusedxml = "*"

[requires]
python_version = "3.8"

[pipenv]
allow_prereleases = true
Loading

0 comments on commit 5e42432

Please sign in to comment.