Skip to content

Commit

Permalink
Merge pull request #47 from will-wright-eng/v052
Browse files Browse the repository at this point in the history
V052
  • Loading branch information
will-wright-eng authored Feb 6, 2023
2 parents b7ffdf9 + 3801452 commit af430e3
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 150 deletions.
5 changes: 1 addition & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks

default_language_version:
python: python3.10

Expand Down Expand Up @@ -30,16 +29,14 @@ repos:
- --fix
verbose: true
entry: bash -c 'markdownlint "$@" || true' --

# python specific hooks
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
args:
- "-l 120"
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
args: ['--order-by-type', '--length-sort', "--profile", "black", "--filter-files"]
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ install: ## install
poetry lock -n && poetry export --without-hashes > requirements.txt
poetry install -n

pc-run: ## pre-commit run --all-files within poetry
pcreset: ## reset pre-commit
poetry run pre-commit uninstall
poetry run pre-commit clean
poetry run pre-commit install

pcrun: ## pre-commit run --all-files within poetry
poetry run pre-commit run --all-files

#* Cleaning
Expand Down
Loading

0 comments on commit af430e3

Please sign in to comment.