Skip to content
Snippets Groups Projects
Commit c876208d authored by Siddhant Tibrewal's avatar Siddhant Tibrewal Committed by Nils-Arne Dreier
Browse files

added ruff as a dev dependency along with pre-commit config file

parent 7bf0c588
No related branches found
No related tags found
1 merge request!15Static code analysis
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.1
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
\ No newline at end of file
......@@ -8,18 +8,20 @@ version = "0.0.1"
[tool.scikit-build]
install.components = ["python"]
build.verbose = true
# Turn on verbose output for editable mode rebuilds
editable.verbose = true
# Rebuild the project when the package is imported
editable.rebuild = true
# Specify a build directory (required for editable.rebuild)
build-dir = "build_{cache_tag}"
[project.scripts]
hiopy-configure = "hiopy.configure:main"
hiopy-worker = "hiopy.worker:main"
\ No newline at end of file
hiopy-worker = "hiopy.worker:main"
# Turn on strictest ruff checker as a default
[tool.ruff]
select = ["ALL"]
line-length = 100 # accomodate any libc++ motivated requirements of over 80 characters
numpy
wheel
ruff
pre-commit
healpy
zarr
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment