Skip to content

Commit

Permalink
feat: provide pipeline and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Jun 30, 2024
1 parent d0e4e1f commit 3702002
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install pipenv
- run: pipenv install --dev -v
- run: pipenv run mypy .
- run: pipenv run pylint --enable-all-extensions --fail-under 8 client
- uses: eifinger/setup-rye@v3
with:
version: 'latest'
- run: rye sync
- run: rye run mypy .
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = []
dev-dependencies = [
"mypy>=1.10.1",
]

[tool.hatch.metadata]
allow-direct-references = true
Expand Down
5 changes: 5 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ mdurl==0.1.2
more-itertools==10.3.0
# via jaraco-classes
# via jaraco-functools
mypy==1.10.1
mypy-extensions==1.0.0
# via mypy
nh3==0.2.17
# via readme-renderer
numpy==2.0.0
Expand Down Expand Up @@ -133,6 +136,8 @@ sphinxcontrib-serializinghtml==1.1.10
# via sphinx
twine==5.0.0
# via openmeteopy
typing-extensions==4.12.2
# via mypy
tzdata==2024.1
# via pandas
urllib3==2.2.2
Expand Down

0 comments on commit 3702002

Please sign in to comment.