Skip to content

Commit

Permalink
Compatibility fix for latest tox and setuptools (#38)
Browse files Browse the repository at this point in the history
andmat900 authored Oct 4, 2024
1 parent c861bfa commit 32e8b89
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -50,7 +50,3 @@ build_dir = "build/sphinx"
[tool.devpi.upload]
no-vcs = 1
formats = "bdist_wheel"

[tool.setuptools_scm]
version_scheme = "setup:version_scheme"
local_scheme = "setup:local_scheme"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -39,4 +39,4 @@ def local_scheme(version) -> str:


if __name__ == "__main__":
setup()
setup(use_scm_version={"local_scheme": local_scheme, "version_scheme": version_scheme})
2 changes: 1 addition & 1 deletion src/etos_lib/eiffel/common.py
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@

PUBLISHER_TEMPLATE = "{SERVER_ADDRESS}:{SERVER_PORT},{RABBITMQ_VHOST},{RABBITMQ_EXCHANGE}"
CONSUMER_TEMPLATE = "{RABBITMQ_QUEUE_NAME}"
# pylint:disable=too-many-arguments
# pylint:disable=too-many-arguments,too-many-positional-arguments


def add_span_attributes(
4 changes: 2 additions & 2 deletions src/etos_lib/lib/utils.py
Original file line number Diff line number Diff line change
@@ -213,7 +213,7 @@ def subprocess_signal_handler(signum, frame): # pylint:disable=unused-argument

def call(
self, cmd, shell=False, env=None, executable=None, output=None, wait_output=True
): # pylint:disable=too-many-arguments
): # pylint:disable=too-many-arguments,too-many-positional-arguments
"""Call a system command.
:param cmd: Command to run.
@@ -244,7 +244,7 @@ def call(

def iterable_call(
self, cmd, shell=False, env=None, executable=None, output=None, wait_output=True
): # pylint:disable=too-many-arguments
): # pylint:disable=too-many-arguments,too-many-positional-arguments
"""Call a system command and yield the output.
:param cmd: Command to run.

0 comments on commit 32e8b89

Please sign in to comment.