-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Misc. clean up: Development dependencies, doc build action, tox for d…
…oc builds, pre-commit hook updates (#2814) * docs: move build dependencies to tox environment * provider: mark wheel as unsafe package * Fix tox default configuration * pre-commit: update hooks * actions: add workflow for doc sanity build * isort: update configuration to v5 * flake8: fix issues
- Loading branch information
Showing
26 changed files
with
460 additions
and
740 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'docs/**' | ||
- '.github/workflows/docs.yml' | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
- '.github/workflows/docs.yml' | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
docs: | ||
name: Documentation Build | ||
runs-on: Ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install tox | ||
run: pip install tox | ||
- name: Build documentation | ||
run: tox -e doc |
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
Oops, something went wrong.