Skip to content

Commit f988067

Browse files
authoredAug 9, 2024
Improve project skeleton (pykeen#1418)
This PR does the following: 1. Switches from `setup.cfg` to `pyproject.toml` 2. Switches from black/isort/flake8 to using ruff 3. Updates the tox.ini 4. Adds backwards compatibility for using `pkg_resources` for plugin loading (will need to reinvestigate later when adding modern python support) 5. Remove `sphinx_autodoc_typehints` and make minor updates to improve sphinx. Still need in future PR to switch to newest sphinx 6. Make appropriate updates to CONTRIBUTING.md 7. Switch tests to tox-uv backend for tox, there are also other ways to speed things up with caching further
1 parent 356f589 commit f988067

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+6564
-5912
lines changed
 

‎.bumpversion.cfg

+4
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ replace = VERSION = "{new_version}"
2626
[bumpversion:file:docs/source/conf.py]
2727
search = release = "{current_version}"
2828
replace = release = "{new_version}"
29+
30+
[bumpversion:file:pyproject.toml]
31+
search = version = "{current_version}"
32+
replace = version = "{new_version}"

‎.flake8

-45
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.