Mentions légales du service

Skip to content
Snippets Groups Projects
Unverified Commit f8aa843a authored by Henry Schreiner's avatar Henry Schreiner Committed by GitHub
Browse files

style: use shed (#58)


Signed-off-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>

Signed-off-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>
parent cd5a1a09
No related branches found
No related tags found
No related merge requests found
......@@ -33,26 +33,13 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
# Black, the code formatter, natively supports pre-commit
- repo: https://github.com/psf/black
rev: 22.10.0
# Runs Black, pyupgrade, isort, autoflake, blacken-docs
- repo: https://github.com/Zac-HD/shed
rev: 0.10.7
hooks:
- id: black
- id: shed
exclude: ^(docs)
# Sort your imports in a standard form
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
# Upgrade older Python syntax
- repo: https://github.com/asottile/pyupgrade
rev: v3.2.2
hooks:
- id: pyupgrade
args: ["--py37-plus"]
# Changes tabs to spaces
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
......
......@@ -10,7 +10,9 @@ scikit_build_example
An example project built with [pybind11](https://github.com/pybind/pybind11) and scikit-build. Python 3.7+ (see older commits for older versions of Python).
An example project built with [pybind11](https://github.com/pybind/pybind11)
and scikit-build-core. Python 3.7+ (see older commits for older versions of
Python).
[gitter-badge]: https://badges.gitter.im/pybind/Lobby.svg
......@@ -49,6 +51,7 @@ Test call
```python
import scikit_build_example
scikit_build_example.add(1, 2)
```
......
......@@ -17,10 +17,6 @@ wheel.expand-macos-universal-tags = true
test = ["pytest"]
[tool.isort]
profile = "black"
[tool.cibuildwheel]
test-command = "pytest {project}/tests"
test-extras = ["test"]
......
from ._core import __doc__, __version__, add, subtract
__all__ = ["__doc__", "__version__", "add", "subtract"]
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