Skip to content

Commit

Permalink
Rebase on latest main
Browse files Browse the repository at this point in the history
  • Loading branch information
markurtz committed Jul 23, 2024
1 parent 02f36d8 commit f77a723
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 13 deletions.
25 changes: 24 additions & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,36 @@ on:
jobs:
quality-check:
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.12"
- "3.8"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install tox
- name: Run quality checks
run: tox -e quality

type-check:
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.12"
- "3.8"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install tox
- name: Run type checks
run: tox -e types
22 changes: 10 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,24 @@ dependencies = [

[project.optional-dependencies]
dev = [
# general
# general and configurations
"pre-commit~=3.5.0",
"sphinx~=7.1.2",
"tox~=4.16.0",

# code quality
"black~=24.4.2",
"flake8~=7.1.0",
"isort~=5.13.2",
"mypy~=1.10.1",
# testing
"pytest~=8.2.2",
"pytest-cov~=5.0.0",
"pytest-mock~=3.14.0",
"pytest~=8.2.2",

# code quality
"mypy~=1.10.1",
"ruff~=0.5.2",
"tox~=4.16.0",
"types-requests~=2.32.0",

# type-checking
"types-click",
"types-requests",
"types-PyYAML",
"types-click~=7.8.1",
"types-requests~=2.32.0",
"types-PyYAML~=6.0.1",
]


Expand Down

0 comments on commit f77a723

Please sign in to comment.