Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isort check to pre commit hook #1052

Merged
merged 11 commits into from
Jan 29, 2025
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,23 @@ repos:
"--rcfile=.pylintrc", # Link to your config file
]
exclude: ^(bin/|doc/|scripts/|setup.py|tests/|mpitests/)
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
josephleekl marked this conversation as resolved.
Show resolved Hide resolved
args:
[
"--py",
"312",
"--profile",
"black",
"-l",
"100",
"-p",
"pennylane_lightning",
"./pennylane_lightning",
"./mpitests",
"./tests",
"./scripts",
]
exclude: ^(bin/|doc/|scripts/|setup.py|tests/|mpitests/)
2 changes: 1 addition & 1 deletion pennylane_lightning/core/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.41.0-dev12"
__version__ = "0.41.0-dev13"
Loading