Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

[pre-commit.ci] pre-commit autoupdate #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down