Skip to content

Commit

Permalink
add nanobind wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Jul 16, 2024
1 parent 60f88e7 commit 820b8ec
Show file tree
Hide file tree
Showing 55 changed files with 3,237 additions and 224 deletions.
Binary file not shown.
Binary file not shown.
23 changes: 0 additions & 23 deletions .flake8

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ build/
dist/

# Compiled
stl_reader/_stlfile_wrapper.c
*.so
*.pyc
56 changes: 23 additions & 33 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,72 +1,62 @@
# See https://pre-commit.ci/
ci:
autofix_prs: true
autoupdate_schedule: quarterly
autofix_prs: true
autoupdate_schedule: quarterly

repos:
- repo: https://github.com/psf/black
rev: 23.12.1
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
hooks:
- id: black
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
exclude: ^(docs/|tests)
- id: ruff-format

- repo: https://github.com/keewis/blackdoc
rev: v0.3.9
hooks:
- id: blackdoc
exclude: README.rst

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
exclude: "setup.py"
args: [
"--profile", "black",
"--force-sort-within-sections",
"--skip-glob", "*__init__.py",
]

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
args: ["--skip=*.vt*"]
args: [--skip=*.vt*]

- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
additional_dependencies: [tomli==2.0.1]
files: ^femorph/.*\.py
files: ^src/stl_reader/.*\.py

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- id: trailing-whitespace
exclude: .*\.cdb$

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
hooks:
- id: pretty-format-toml
args: [--autofix]
- id: pretty-format-yaml
args: [--autofix, --indent, '2']

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
hooks:
- id: clang-format
files: |
(?x)^(
stl_reader/[^_].*\.c.*
)$

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.29.0
hooks:
- id: check-github-workflows
- id: check-github-workflows

- repo: https://github.com/dzhu/rstfmt
rev: v0.0.14
hooks:
- id: rstfmt
- id: rstfmt
Loading

0 comments on commit 820b8ec

Please sign in to comment.