Skip to content

Commit

Permalink
Update code_style.yml (#15)
Browse files Browse the repository at this point in the history
* Update code_style.yml

* Update code_style.yml

* Update test_build.yml

* Update pyproject.toml
  • Loading branch information
zktuong authored Nov 18, 2024
1 parent a06d790 commit fa162a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4

- name: Install black
run: python -m pip install black

- name: Run black
run: black --config pyproject.toml --check .
- name: Black
uses: psf/black@stable
with:
options: "--config pyproject.toml --check"
src: "."

docstring:
name: Check docstring compliance.
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ jobs:
- { python-version: 3.9, os: ubuntu-latest }
- { python-version: "3.10", os: ubuntu-latest }
- { python-version: "3.11", os: ubuntu-latest }
- { python-version: "3.12", os: ubuntu-latest }
- { python-version: 3.8, os: macos-latest }
- { python-version: 3.9, os: macos-latest }
- { python-version: "3.10", os: macos-latest }
- { python-version: "3.11", os: macos-latest }
- { python-version: "3.12", os: macos-latest }
runs-on: ${{ matrix.config.os }}
env:
TZ: UTC
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifiers = [
packages = [{ include = "tools" }]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.8"
pandas = "*"
numpy = "*"
matplotlib = ">=3.5.2,<=3.9.1"
Expand Down

0 comments on commit fa162a4

Please sign in to comment.