-
Notifications
You must be signed in to change notification settings - Fork 5
Update black dependency for Python 3.13 support #48
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
Conversation
| branches: | ||
| - master | ||
| pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added pull_request recently, which resulted in duplicated builds. Now restricting push builds to the master branch.
| ## devenv: set up a development environment | ||
| devenv: | ||
| conda install -y black==22.6.0 pytest pytest-cov | ||
| pip install -e . | ||
| ## hooks: install development hooks | ||
| hooks: | ||
| echo "set -eo pipefail" > .git/hooks/pre-commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing some vestigial cruft.
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install . | ||
| make devenv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary, all handled by conda environment setup.
| - defaults | ||
| dependencies: | ||
| - black==22.6.0 | ||
| - black>=22.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the Python 3.13 compatibility update.
Title says it all.