Skip to content

Commit

Permalink
Merge pull request #90 from lebrice/fix_poetry_lockfile
Browse files Browse the repository at this point in the history
Fix poetry lockfile issues (and add pre-commit hook)
  • Loading branch information
satyaog authored Feb 5, 2024
2 parents 6363e05 + 2f654b2 commit f49743d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ repos:
- id: check-added-large-files
require_serial: true

- repo: https://github.com/python-poetry/poetry
rev: 1.7.0
hooks:
- id: poetry-check
require_serial: true

- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.0.261'
rev: "v0.0.261"
hooks:
- id: ruff
args: ['--line-length', '88', '--fix']
args: ["--line-length", "88", "--fix"]
require_serial: true

- repo: https://github.com/pycqa/isort
Expand Down Expand Up @@ -75,7 +81,6 @@ repos:
# # - mdformat-black
# require_serial: true


# word spelling linter
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f49743d

Please sign in to comment.