Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
env:
READTHEDOCS: 'True'
run: SPHINXOPTS='-nW' make -C doc html
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: doc-build
path: doc/build/html
Expand Down
99 changes: 0 additions & 99 deletions .github/workflows_source/ci.yml

This file was deleted.

42 changes: 12 additions & 30 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,49 +1,31 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/psf/black
rev: 24.3.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.0
hooks:
- id: isort
- repo: https://github.com/python-poetry/poetry/
rev: "2.1.1"
hooks:
- id: poetry-check
name: "poetry: check pyproject.toml syntax"
- id: poetry-check
name: "poetry: check poetry.lock consistency"
args: ["--lock"]
files: '^(pyproject\.toml|poetry\.lock)$'
- repo: local
hooks:
- id: poetry-pyproject-check
name: "poetry: pyproject.toml check"
language: system
entry: poetry
args: ["check"]
files: '^(pyproject\.toml)$'
pass_filenames: false

- id: poetry-lockfile-consistency
name: "poetry: lockfile consistency check"
language: system
entry: poetry
args: ['lock', '--check']
files: '^(pyproject\.toml)|(poetry\.lock)$'
pass_filenames: false

- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
exclude: '^(doc/)|(examples/)|(futures/)|(utils/)'

- id: interpolate-workflows
name: Interpolate Github workflows
entry: python ./utils/interpolate_yaml_anchors.py
language: system
files: |
(?x)^(
.github/(.)*|
utils/interpolate_yaml_anchors.py
)$
pass_filenames: false
1 change: 0 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
Loading
Loading