Skip to content

Commit

Permalink
chore: Update requirements and gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lRomul committed Apr 16, 2024
1 parent 5dea793 commit 88dcc14
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -29,4 +29,4 @@ jobs:
- name: Test
run: pytest
- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
15 changes: 9 additions & 6 deletions pyproject.toml
Expand Up @@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand All @@ -30,14 +31,14 @@ dynamic = ["version"]

[project.optional-dependencies]
tests = [
"pytest==7.4.4",
"pytest-cov==4.1.0",
"mypy==1.8.0",
"ruff==0.1.14",
"pytest==8.1.1",
"pytest-cov==5.0.0",
"mypy==1.9.0",
"ruff==0.3.7",
]
docs = [
"mkdocs==1.5.3",
"mkdocs-material==9.5.5",
"mkdocs-material==9.5.18",
]
examples = [
"opencv-python==4.9.0.80",
Expand Down Expand Up @@ -69,11 +70,13 @@ files = [

[tool.ruff]
line-length = 89

[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]

0 comments on commit 88dcc14

Please sign in to comment.