Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed May 20, 2023
1 parent 5751c18 commit 8483862
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make install-dev
- name: run lint
run: make lint
run: make lint-check
- name: run tests
run: make tests
- name: build book
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ help:
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
@echo ================================================================================

lint: ## Build architecture diagrams
lint: ## Lint and fix
@poetry run ./dev/lint


lint-check: ## Lint check only
@poetry run ./dev/lint --check

install-dev: ## Install development dependencies
@./dev/install

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Luca <[email protected]>"]
license = "BSD-3-Clause"

[tool.poetry.dependencies]
python = ">=3.11,<3.12"
python = ">=3.10,<3.12"
numpy = "^1.22.3"
scipy = "^1.10.1"
pandas = "^2.0.1"
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ ignore_errors = True

[mypy-quantflow.sp.derived]
ignore_errors = True

[mypy-quantflow.utils.text]
ignore_errors = True

0 comments on commit 8483862

Please sign in to comment.