Skip to content

Commit

Permalink
Merge 7a3889b into 798afed
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Jun 1, 2022
2 parents 798afed + 7a3889b commit 184d92c
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 12 deletions.
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ sphinx:
python:
version: 3.8
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
7 changes: 0 additions & 7 deletions docs/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion greenwave/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def stats_client():
@dataclass
class Stat:
name: str
labeldict: dict[str, str] = field(default_factory=dict)
labeldict: dict = field(default_factory=dict)

def __str__(self):
if not self.labeldict:
Expand Down
24 changes: 22 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include = [
]

[tool.poetry.dependencies]
python = "^3.9"
python = ">=3.8,<3.10"
PyYAML = "^6.0"
"dogpile.cache" = "^1.1.4"
flask = "^2.1.2"
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ commands =
--recursive greenwave

[testenv:docs]
# Same Python version as in .readthedocs.yaml
basepython = python3.8
changedir = docs
extras =
docs
Expand Down

0 comments on commit 184d92c

Please sign in to comment.