-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade pre-commit dependencies * Rename codecov config file * Add manifest file * Update tests configuration * Migrate to pyproject.toml * Update requirements files * Remove vcrpy * Do not create universal wheels * Add make rules for pip-compile commands * Add GitHub workflow for uploading to PyPI
- Loading branch information
1 parent
2722386
commit 6abd88f
Showing
75 changed files
with
3,476 additions
and
110,529 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[flake8] | ||
exclude = .tox, .git, __pycache__, .cache, build, dist, *.pyc, *.egg-info, .eggs | ||
# Error codes: | ||
# - https://flake8.pycqa.org/en/latest/user/error-codes.html | ||
# - https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes | ||
# - https://github.com/PyCQA/flake8-bugbear#list-of-warnings | ||
# | ||
# E203: whitespace before `,`, `;` or `:` | ||
# E402: module level import not at top of file | ||
# E501: line too long | ||
# W503: line break before binary operator | ||
ignore = | ||
E203, | ||
E402, | ||
E501, | ||
W503 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: "Release" | ||
on: "workflow_dispatch" | ||
jobs: | ||
build: | ||
name: "Build" | ||
runs-on: "ubuntu-22.04" | ||
steps: | ||
- name: "Check out repository" | ||
uses: "actions/checkout@v4" | ||
- name: "Set up Python" | ||
uses: "actions/setup-python@v4" | ||
with: | ||
python-version: "3.9" | ||
- name: "Build distribution packages" | ||
run: make package-check | ||
- name: "Save distribution directory" | ||
uses: "actions/upload-artifact@v3" | ||
with: | ||
name: "distribution" | ||
path: | | ||
dist | ||
upload: | ||
name: "Upload" | ||
needs: "build" | ||
runs-on: "ubuntu-22.04" | ||
environment: "release" | ||
permissions: | ||
id-token: "write" | ||
steps: | ||
- name: "Restore distribution directory" | ||
uses: "actions/download-artifact@v3" | ||
with: | ||
name: "distribution" | ||
path: | | ||
dist | ||
- name: "Upload distribution packages to PyPI" | ||
uses: "pypa/gh-action-pypi-publish@release/v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
repos: | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.31.0 | ||
rev: v3.15.0 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py3-plus, --py36-plus] | ||
args: [--py38-plus] | ||
- repo: https://github.com/asottile/reorder_python_imports | ||
rev: v2.6.0 | ||
rev: v3.12.0 | ||
hooks: | ||
- id: reorder-python-imports | ||
args: [--py3-plus, --py36-plus] | ||
- repo: https://github.com/ambv/black | ||
rev: 22.8.0 | ||
args: [--py38-plus] | ||
- repo: https://github.com/psf/black | ||
rev: "23.10.1" | ||
hooks: | ||
- id: black | ||
args: [--safe, --quiet] | ||
language_version: python3 | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 5.0.4 | ||
rev: "6.1.0" | ||
hooks: | ||
- id: flake8 | ||
language_version: python3 | ||
additional_dependencies: | ||
- flake8-bugbear==23.9.16 | ||
- flake8-comprehensions==3.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include LICENSE | ||
include README.md | ||
include TRADEMARK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.