Skip to content

Commit

Permalink
Merge pull request #6 from oqc-community/devops/ker/pre_commit_and_de…
Browse files Browse the repository at this point in the history
…v_tools

Enable pre-commit checks and adjust tool settings.
  • Loading branch information
keriksson-rosenqvist authored Oct 24, 2024
2 parents 837ef18 + 319fa75 commit dbfcb83
Show file tree
Hide file tree
Showing 3 changed files with 419 additions and 216 deletions.
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
default_language_version:
python: python3

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-merge-conflict
stages: [commit, manual]
- repo: https://github.com/psf/black
rev: 24.2.0
hooks:
- id: black
stages: [commit, manual]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
stages: [commit, manual]
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.0
hooks:
- id: autoflake
stages: [ commit, manual ]
- repo: https://github.com/python-poetry/poetry
rev: 1.5.1
hooks:
- id: poetry-lock
args: ["--no-update"]
Loading

0 comments on commit dbfcb83

Please sign in to comment.