Skip to content

Commit

Permalink
Fix CI by updating lighthouse and pre-commit config (dask#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored Mar 22, 2023
1 parent e1e8065 commit 1ea507a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
make html
- name: Run Lighthouse against example docs build
uses: treosh/lighthouse-ci-action@v2
uses: treosh/lighthouse-ci-action@v9
with:
configPath: "./lighthouserc.json"
temporaryPublicStorage: true
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 23.1.0
hooks:
- id: black
language_version: python3
exclude: versioneer.py
args:
- --target-version=py37
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.6.2"
rev: v2.7.1
hooks:
- id: prettier
2 changes: 0 additions & 2 deletions dask_sphinx_theme/ext/dask_config_sphinx_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def get_remote_yaml(url):


class DaskConfigDirective(Directive):

option_spec = {
"location": directives.unchanged,
"schema": directives.uri,
Expand Down Expand Up @@ -64,7 +63,6 @@ def dask_config_to_html(key, value, schema, prefix=""):
)

else:

try:
description = schema["description"]
description = description.strip()
Expand Down
9 changes: 6 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ extend-ignore = E203, E266, E501
# Note: there cannot be spaces after commas here
exclude = __init__.py,versioneer.py
ignore =
E4, # Import formatting
E731, # Assigning lambda expression
W503, # line break before binary operator
# Import formatting
E4,
# Assigning lambda expression
E731,
# line break before binary operator
W503,

per-file-ignores =
**/tests/*:
Expand Down

0 comments on commit 1ea507a

Please sign in to comment.