-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MAINT] Update to new Python and dev tools (#55)
* Update to new Python and dev tools Ran black Renamed docs/ -> doc/ Setup pyproject.toml Updated min Python version to 3.8 - 3.11 Updated GH actions and circleCI workflows --------- Signed-off-by: Adam Li <[email protected]> Co-authored-by: Eric Larson <[email protected]>
- Loading branch information
Showing
89 changed files
with
2,238 additions
and
3,232 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
raison | ||
ue | ||
f0 | ||
fo | ||
Yse |
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,26 @@ | ||
[flake8] | ||
max-line-length = 100 | ||
|
||
ignore = | ||
# these rules don't play well with black | ||
# whitespace before ':' | ||
E203 | ||
# line break before binary operator | ||
W503 | ||
E241,E305,W504,W605,E731 | ||
|
||
exclude = | ||
.git | ||
.github | ||
.venv | ||
.mypy_cache | ||
.pytest_cache | ||
.circleci | ||
paper | ||
setup.py | ||
doc | ||
|
||
per-file-ignores = | ||
# __init__.py files are allowed to have unused imports | ||
*/__init__.py:F401 | ||
*/**/__init__.py:F401 |
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,22 @@ | ||
name: cffconvert | ||
|
||
on: | ||
push: | ||
paths: | ||
- CITATION.cff | ||
pull_request: | ||
paths: | ||
- CITATION.cff | ||
|
||
jobs: | ||
validate: | ||
name: "validate" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out a copy of the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check whether the citation metadata from CITATION.cff is valid | ||
uses: citation-file-format/[email protected] | ||
with: | ||
args: "--validate" |
5 changes: 4 additions & 1 deletion
5
.github/workflows/main.yml → .github/workflows/circle_artifacts.yml
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,13 +1,16 @@ | ||
on: [status] | ||
jobs: | ||
circleci_artifacts_redirector_job: | ||
if: "${{ startsWith(github.event.context, 'ci/circleci: build_doc') }}" | ||
runs-on: ubuntu-20.04 | ||
name: Run CircleCI artifacts redirector | ||
steps: | ||
- name: GitHub Action step | ||
uses: larsoner/circleci-artifacts-redirector-action@master | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
api-token: ${{ secrets.CIRCLECI_TOKEN }} | ||
artifact-path: 0/dev/index.html | ||
circleci-jobs: docs-build | ||
circleci-jobs: build_doc | ||
job-title: Check the rendered docs here! | ||
|
Oops, something went wrong.