You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the problem you'd like to be solved
The latest versions of our code formatter, black, conflict with our import sorting package, reorder-python-imports. See psf/black#4175
This has forced us to pin black to an old version in all our Python packages.
Describe the solution you'd like to see implemented
Many open source Python projects, including a3m, have moved to using ruff instead of black for code formatting. ruff also includes import sorting capabilities and might allow us to drop other pre-commit dependencies like flake8 and pyupgrade.
Describe alternatives you've considered
Replacing reorder-python-imports with isort.
Additional context
Affected projects:
artefactual-labs/agentarchives
artefactual-labs/amclient
artefactual-labs/ammcpc
artefactual-labs/archivematica-acceptance-tests
artefactual-labs/mets-reader-writer
artefactual/archivematica
artefactual/archivematica-storage-service
artefactual/automation-tools
artefactual/fixity
For Artefactual use:
Before you close this issue, you must check off the following:
All pull requests related to this issue are properly linked
All pull requests related to this issue have been merged
A testing plan for this issue has been implemented and passed (testing plan information should be included in the issue body or comments)
Documentation regarding this issue has been written and merged
Details about this issue have been added to the release notes
The text was updated successfully, but these errors were encountered:
Please describe the problem you'd like to be solved
The latest versions of our code formatter,
black
, conflict with our import sorting package,reorder-python-imports
. See psf/black#4175This has forced us to pin
black
to an old version in all our Python packages.Describe the solution you'd like to see implemented
Many open source Python projects, including
a3m
, have moved to usingruff
instead ofblack
for code formatting.ruff
also includes import sorting capabilities and might allow us to drop otherpre-commit
dependencies likeflake8
andpyupgrade
.Describe alternatives you've considered
Replacing
reorder-python-imports
withisort
.Additional context
Affected projects:
For Artefactual use:
Before you close this issue, you must check off the following:
The text was updated successfully, but these errors were encountered: