File tree Expand file tree Collapse file tree 5 files changed +7
-45
lines changed
custom_components/avanza_stock Expand file tree Collapse file tree 5 files changed +7
-45
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,33 +14,13 @@ repos:
1414 - --autofix
1515 - --no-sort-keys
1616
17- - repo : https://github.com/psf/black
18- rev : 23.10 .1
17+ - repo : https://github.com/astral-sh/ruff-pre-commit
18+ rev : v0.12 .1
1919 hooks :
20- - id : black
20+ - id : ruff-check
2121 args :
22- - --safe
23- - --quiet
24- files : ^((custom_components)/.+)?[^/]+\.py$
25-
26- - repo : https://github.com/pycqa/flake8
27- rev : 6.1.0
28- hooks :
29- - id : flake8
30- additional_dependencies :
31- - flake8-docstrings==1.6.0
32- - pydocstyle==6.1.1
33- files : ^(custom_components)/.+\.py$
34-
35- - repo : https://github.com/PyCQA/isort
36- rev : 5.12.0
37- hooks :
38- - id : isort
39-
40- - repo : https://github.com/asottile/pyupgrade
41- rev : v3.15.0
42- hooks :
43- - id : pyupgrade
22+ - --fix
23+ - id : ruff-format
4424
4525 - repo : https://github.com/adrienverge/yamllint
4626 rev : v1.32.0
Original file line number Diff line number Diff line change 11"""Constants for avanza_stock."""
2+
23__version__ = "1.5.4"
34
45DEFAULT_NAME = "Avanza Stock"
Original file line number Diff line number Diff line change 44For more details about this platform, please refer to the documentation at
55https://github.com/custom-components/sensor.avanza_stock/blob/master/README.md
66"""
7+
78import logging
89from datetime import timedelta
910
You can’t perform that action at this time.
0 commit comments