Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch project to use pyproject.toml #316

Merged
merged 6 commits into from
Jul 20, 2023
Merged

Switch project to use pyproject.toml #316

merged 6 commits into from
Jul 20, 2023

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Jul 20, 2023

This modernizes the Python infrastructure of the project:

  • Replace setup.py and setup.cfg by pyproject.toml
  • Replace PEP8 checking in pre-commit with flake8 by ruff
  • Add checking for common spelling errors with codespell in pre-commit

As part of the corrections of the ruff detected errors, audb.Dependencies.__len__() was added to the documentation:

image

@hagenw hagenw marked this pull request as draft July 20, 2023 07:55
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #316 (304321a) into main (e2a3231) will not change coverage.
The diff coverage is 100.0%.

Impacted Files Coverage Δ
audb/core/conftest.py 100.0% <ø> (ø)
audb/core/flavor.py 100.0% <ø> (ø)
audb/core/publish.py 100.0% <ø> (ø)
audb/__init__.py 100.0% <100.0%> (ø)
audb/core/api.py 100.0% <100.0%> (ø)
audb/core/config.py 100.0% <100.0%> (ø)
audb/core/dependencies.py 100.0% <100.0%> (ø)
audb/core/info.py 100.0% <100.0%> (ø)
audb/core/load.py 100.0% <100.0%> (ø)
audb/core/load_to.py 100.0% <100.0%> (ø)
... and 1 more

@hagenw hagenw marked this pull request as ready for review July 20, 2023 10:50
@hagenw hagenw merged commit a359988 into main Jul 20, 2023
9 checks passed
@hagenw hagenw deleted the pyproject branch July 20, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant