Skip to content

Commit

Permalink
♻ Migrate to poetry and cover all with type annotations (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
lig committed Sep 13, 2020
1 parent 5cf1044 commit 5eff618
Show file tree
Hide file tree
Showing 22 changed files with 966 additions and 453 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.*
!.gitignore
*~
*.pyc

/venv
/build
/dist
/*.egg-info
# dot files
!/.pre-commit-config.yaml

!/.travis.yml
# python
*.pyc
/*.egg-info
/dist
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
repos:
- repo: local
hooks:
- id: isort
name: isort
entry: poetry run isort
language: system
types: [python]
- id: mypy
name: mypy
entry: poetry run mypy
language: system
types: [python]
exclude: >
(?x)^(
tests/
)
- id: black
name: black
entry: poetry run black
language: system
types: [python]
- id: flake8
name: flake8
entry: poetry run flake8
language: system
types: [python]
exclude: >
(?x)^(
tests/example/
)
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit 5eff618

Please sign in to comment.