-
Notifications
You must be signed in to change notification settings - Fork 6
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,8 @@ defaults: | |
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| schedule: | ||
| - cron: '0 4 1 * *' | ||
|
|
@@ -45,7 +47,6 @@ jobs: | |
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install . | ||
| make devenv | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unnecessary, all handled by conda environment setup. |
||
| - name: Style check | ||
| run: | | ||
| make style | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,9 +23,8 @@ format: | |
| black --line-length=99 pytaxonkit.py setup.py | ||
|
|
||
|
|
||
| ## 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 | ||
|
Comment on lines
-26
to
+28
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing some vestigial cruft. |
||
| echo 'make style' >> .git/hooks/pre-commit | ||
| chmod 755 .git/hooks/pre-commit | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ channels: | |
| - conda-forge | ||
| - defaults | ||
| dependencies: | ||
| - black==22.6.0 | ||
| - black>=22.6 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the Python 3.13 compatibility update. |
||
| - pandas>=1.0 | ||
| - python>=3.6 | ||
| - pytest>=5.4 | ||
|
|
||
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_requestrecently, which resulted in duplicated builds. Now restrictingpushbuilds to the master branch.