Skip to content

Commit

Permalink
Update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaEsmukov committed Nov 11, 2022
1 parent 724b93c commit 8fce12a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ lint:

.PHONY: test
test:
coverage run -m py.test
coverage run -m pytest
coverage report

.PHONY: clean
Expand Down
16 changes: 8 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@ arduino =
metrics =
prometheus-client>=0.1.0
dev =
black==21.8b0
coverage==5.5
flake8==3.9.2
isort==5.9.3
mypy==0.910
pytest==6.2.5
black==22.10.0
coverage==6.5.0
flake8==5.0.4
isort==5.10.1
mypy==0.990
pytest==7.2.0
sphinx==4.3.2
vcrpy==4.2.1
requests
sphinx==4.1.2
types-requests
wheel

[options.packages.find]
where = src
Expand Down
4 changes: 3 additions & 1 deletion src/afancontrol/pwmfan/base.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import abc
from typing import NewType, Type
from typing import NewType, Tuple, Type

PWMValue = NewType("PWMValue", int) # [0..255]
FanValue = NewType("FanValue", int)


class _SlotsReprMixin:
__slots__: Tuple[str, ...]

def __eq__(self, other):
if isinstance(other, type(self)):
for attr in self.__slots__:
Expand Down

0 comments on commit 8fce12a

Please sign in to comment.