Skip to content

Commit

Permalink
Modernize Fixes #15 (#16)
Browse files Browse the repository at this point in the history
* define readme in pyproject.toml

* fix deprecation warning

* add pre-commit
  • Loading branch information
djeromov authored Nov 1, 2024
1 parent 7b0e6ce commit 0ebaf97
Show file tree
Hide file tree
Showing 4 changed files with 579 additions and 445 deletions.
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
fail_fast: true
repos:
- repo: local
hooks:
- id: system
name: isort
entry: poetry run isort .
language: system
pass_filenames: false
- repo: local
hooks:
- id: pyupgrade
name: pyupgrade
entry: poetry run pyupgrade --py36-plus
language: python
types: [python]
pass_filenames: true
- repo: local
hooks:
- id: system
name: Black
entry: poetry run black .
language: system
pass_filenames: false
Loading

0 comments on commit 0ebaf97

Please sign in to comment.