Skip to content

Commit 0ebaf97

Browse files
authored
Modernize Fixes #15 (#16)
* define readme in pyproject.toml * fix deprecation warning * add pre-commit
1 parent 7b0e6ce commit 0ebaf97

File tree

4 files changed

+579
-445
lines changed

4 files changed

+579
-445
lines changed

.pre-commit-config.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
fail_fast: true
2+
repos:
3+
- repo: local
4+
hooks:
5+
- id: system
6+
name: isort
7+
entry: poetry run isort .
8+
language: system
9+
pass_filenames: false
10+
- repo: local
11+
hooks:
12+
- id: pyupgrade
13+
name: pyupgrade
14+
entry: poetry run pyupgrade --py36-plus
15+
language: python
16+
types: [python]
17+
pass_filenames: true
18+
- repo: local
19+
hooks:
20+
- id: system
21+
name: Black
22+
entry: poetry run black .
23+
language: system
24+
pass_filenames: false

0 commit comments

Comments
 (0)