diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95ecce1..dd412c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,10 @@ repos: -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.7.8 +- repo: https://github.com/PyCQA/flake8 + rev: 7.1.1 hooks: - id: flake8 exclude: examples -- repo: https://github.com/pre-commit/mirrors-yapf - rev: v0.23.0 +- repo: https://github.com/google/yapf + rev: v0.43.0 hooks: - id: yapf diff --git a/app.py b/app.py index 62ca82c..8428269 100644 --- a/app.py +++ b/app.py @@ -63,8 +63,9 @@ def single_sd_colour_rendition_report(): sd = sds[list(sds.keys())[0]] if sd.shape.interval not in [1, 5, 10, 20]: sd = sd.align( - colour.SpectralShape( - start=sd.shape.start, end=sd.shape.end, interval=1)) + colour.SpectralShape(start=sd.shape.start, + end=sd.shape.end, + interval=1)) figure, _axes = colour.plotting.plot_single_sd_colour_rendition_report( sd,