##// END OF EJS Templates
Simplify color definition. (#14291)...
Simplify color definition. (#14291) Schemes either accept a dict, or as kwargs. Try to use a single way of defining via a dict, so that we can later deprecate passing all as kwargs. Use the opportunity to fix some things linter complaints, and add type annotations.

File last commit:

r28457:30459d55
r28588:b14df380 merge
Show More
.pre-commit-config.yaml
16 lines | 463 B | text/x-yaml | YamlLexer
/ .pre-commit-config.yaml
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/akaihola/darker
rev: 1.7.2
hooks:
- id: darker
additional_dependencies: [isort, mypy, flake8]