Skip to content

Commit

Permalink
Adapt ci pipeline (#99)
Browse files Browse the repository at this point in the history
* adapt mypy ini

* remove lint disable

* bump pylint version

* ignore too many arguments

* move pylint disable to rc file
  • Loading branch information
Leggin authored Sep 24, 2024
1 parent 2918080 commit 4ff4c34
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ disable =
C0116, # missing-function-docstring
R0902, # too-many-instance-attributes
R0913, # too-many-arguments
R0801
R0801, # duplicate-code
R0917, # too-many-positional-arguments
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pylint==2.17.2
pylint==3.3.0
pytest==7.3.1
mypy==1.6.1
types-requests==2.*
2 changes: 0 additions & 2 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Global options:

[mypy]
python_version = 3.11
exclude = build
disallow_untyped_defs = True
python_executable = venv/bin/python3.12
follow_imports = silent
plugins = pydantic.mypy
1 change: 0 additions & 1 deletion src/dirigera/devices/outlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@


class OutletAttributes(Attributes):
# pylint: disable=too-many-positional-arguments
is_on: bool
startup_on_off: Optional[StartupEnum] = None
status_light: Optional[bool] = None
Expand Down

0 comments on commit 4ff4c34

Please sign in to comment.