Skip to content

Commit

Permalink
Fix build for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Dec 29, 2021
1 parent 6bea3e4 commit 940b5d6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 33 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ repos:
types_or: [python, cython, rst, markdown]
exclude: "nautilus_trader/adapters/betfair/parsing.py|nautilus_trader/adapters/betfair/execution.py|tests/integration_tests/adapters/betfair/test_kit.py"

# - repo: https://github.com/hadialqattan/pycln
# rev: v1.1.0
# hooks:
# - id: pycln
# name: pycln (Python unused imports)
# exclude: "nautilus_trader/live/node.py|nautilus_trader/adapters/betfair/execution.py"
- repo: https://github.com/hadialqattan/pycln
rev: v1.1.0
hooks:
- id: pycln
name: pycln (Python unused imports)
exclude: "nautilus_trader/live/node.py|nautilus_trader/adapters/betfair/execution.py"

- repo: https://github.com/psf/black
rev: 21.12b0
Expand Down
35 changes: 9 additions & 26 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ include = [

[build-system]
requires = [
"setuptools",
"setuptools==59.8.0",
"poetry-core>=1.0.7",
"numpy>=1.21.5",
"Cython>=3.0.0a9",
Expand Down

0 comments on commit 940b5d6

Please sign in to comment.