Skip to content

Commit

Permalink
Bump ruff from 0.7.4 to 0.8.0 (#502)
Browse files Browse the repository at this point in the history
* Bump ruff from 0.7.4 to 0.8.0

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.4 to 0.8.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.7.4...0.8.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* ruff fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: farmio <farmio@alphart.net>
  • Loading branch information
dependabot[bot] and farmio authored Nov 26, 2024
1 parent 6b8ed12 commit 21fe360
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion requirements_testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pylint==3.3.1
pytest==8.3.3
pytest-cov==6.0.0
pytest-icdiff==0.9
ruff==0.7.4
ruff==0.8.0
setuptools==75.6.0
tox==4.23.2
tox-gh-actions==3.2.0
Expand Down
4 changes: 2 additions & 2 deletions xknxproject/exceptions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
)

__all__ = [
"XknxProjectException",
"InvalidPasswordException",
"ProjectNotFoundException",
"UnexpectedFileContent",
"UnexpectedDataError",
"UnexpectedFileContent",
"XknxProjectException",
]
34 changes: 17 additions & 17 deletions xknxproject/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,10 +644,10 @@ class ApplicationProgramChannel:

__slots__ = (
"identifier",
"text",
"text_parameter_ref_id",
"name",
"number",
"text",
"text_parameter_ref_id",
)

identifier: str # name="Id" type="xs:ID" use="required"
Expand All @@ -666,20 +666,20 @@ class ComObject:
"""Class that represents a ComObject instance."""

__slots__ = (
"base_number_argument_ref",
"communication_flag",
"datapoint_types",
"function_text",
"identifier",
"name",
"text",
"number",
"function_text",
"object_size",
"read_flag",
"write_flag",
"communication_flag",
"read_on_init_flag",
"text",
"transmit_flag",
"update_flag",
"read_on_init_flag",
"datapoint_types",
"base_number_argument_ref",
"write_flag",
)

# all items required in the XML
Expand Down Expand Up @@ -707,20 +707,20 @@ class ComObjectRef:
"""Class that represents a ComObjectRef instance."""

__slots__ = (
"communication_flag",
"datapoint_types",
"function_text",
"identifier",
"ref_id",
"name",
"text",
"function_text",
"object_size",
"read_flag",
"write_flag",
"communication_flag",
"transmit_flag",
"update_flag",
"read_on_init_flag",
"datapoint_types",
"ref_id",
"text",
"text_parameter_ref_id",
"transmit_flag",
"update_flag",
"write_flag",
)

identifier: str # "Id" - xs:ID - required
Expand Down

0 comments on commit 21fe360

Please sign in to comment.