File tree Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : " v4.5 .0"
3
+ rev : " v5.0 .0"
4
4
hooks :
5
5
- id : check-added-large-files
6
6
- id : check-case-conflict
@@ -15,31 +15,28 @@ repos:
15
15
- id : requirements-txt-fixer
16
16
- id : trailing-whitespace
17
17
- repo : https://github.com/codespell-project/codespell
18
- rev : v2.2.6
18
+ rev : v2.3.0
19
19
hooks :
20
20
- id : codespell
21
+ args : ["--ignore-words-list=socio-economic"]
21
22
exclude : " CONTRIBUTORS.rst"
22
- - repo : https://github.com/ikamensh/flynt
23
- rev : " 1.0.1"
24
- hooks :
25
- - id : flynt
26
- args : [--verbose]
27
23
- repo : https://github.com/PyCQA/isort
28
24
rev : " 5.13.2"
29
25
hooks :
30
26
- id : isort
31
27
- repo : https://github.com/astral-sh/ruff-pre-commit
32
- rev : " v0.1.14 "
28
+ rev : " v0.8.2 "
33
29
hooks :
34
30
- id : ruff-format
35
31
- id : ruff
32
+ args : [--fix]
36
33
- repo : https://github.com/adamchainz/blacken-docs
37
- rev : 1.16.0
34
+ rev : 1.19.1
38
35
hooks :
39
36
- id : blacken-docs
40
37
language_version : python3.10
41
38
- repo : https://github.com/pre-commit/mirrors-prettier
42
- rev : " v3.1.0 "
39
+ rev : " v4.0.0-alpha.8 "
43
40
hooks :
44
41
- id : prettier
45
42
- repo : https://github.com/pre-commit/pygrep-hooks
Original file line number Diff line number Diff line change 6
6
import os
7
7
8
8
import dash
9
- from colour .hints import Optional
10
9
from flask import Flask
11
10
12
11
__author__ = "Colour Developers"
30
29
*Flask* server hosting the *Dash* app.
31
30
"""
32
31
33
- SERVER_URL : Optional [ str ] = os .environ .get ("COLOUR_DASH_SERVER" )
32
+ SERVER_URL : str | None = os .environ .get ("COLOUR_DASH_SERVER" )
34
33
"""
35
34
Server url used to construct permanent links for the individual apps.
36
35
"""
Original file line number Diff line number Diff line change @@ -70,11 +70,9 @@ dev-dependencies = [
70
70
]
71
71
72
72
[tool .codespell ]
73
+ ignore-words-list = " socio-economic"
73
74
skip = " BIBLIOGRAPHY.bib,CONTRIBUTORS.rst,*.ipynb"
74
75
75
- [tool .flynt ]
76
- line_length =999
77
-
78
76
[tool .isort ]
79
77
ensure_newline_before_comments = true
80
78
force_grid_wrap = 0
You can’t perform that action at this time.
0 commit comments