Skip to content

Commit

Permalink
Setup poetry and replace autopep8 with black
Browse files Browse the repository at this point in the history
  • Loading branch information
m30m committed Jan 31, 2024
1 parent c843126 commit f4ff294
Show file tree
Hide file tree
Showing 12 changed files with 2,022 additions and 194 deletions.
18 changes: 15 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,19 @@ repos:
files: vault-simulator

# for python files
- repo: https://github.com/hhatto/autopep8
rev: "v2.0.4"
- repo: local
hooks:
- id: autopep8
- id: isort
name: isort
entry: poetry -C per_sdk run isort --profile=black per_sdk
language: system
- id: black
name: black
entry: poetry -C per_sdk run black per_sdk
pass_filenames: false
language: system
- id: pyflakes
name: pyflakes
entry: poetry -C per_sdk run pyflakes per_sdk
pass_filenames: false
language: system
92 changes: 0 additions & 92 deletions beacon/protocols/beacon_template.py

This file was deleted.

6 changes: 0 additions & 6 deletions beacon/utils/endpoints.py

This file was deleted.

Loading

0 comments on commit f4ff294

Please sign in to comment.