Skip to content

fix(ruff): avoid using boolean arguments on a call without naming them

Codecov / codecov/patch succeeded Sep 27, 2024 in 1s

40.62% of diff hit (target 38.56%)

View this Pull Request on Codecov

40.62% of diff hit (target 38.56%)

Annotations

Check warning on line 15 in src/aleph_client/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/__init__.py#L15

Added line #L15 was not covered by tests

Check warning on line 19 in src/aleph_client/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/__init__.py#L19

Added line #L19 was not covered by tests

Check warning on line 70 in src/aleph_client/commands/aggregate.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/aggregate.py#L70

Added line #L70 was not covered by tests

Check warning on line 72 in src/aleph_client/commands/aggregate.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/aggregate.py#L72

Added line #L72 was not covered by tests

Check warning on line 113 in src/aleph_client/commands/domain.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/domain.py#L113

Added line #L113 was not covered by tests

Check warning on line 324 in src/aleph_client/commands/domain.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/domain.py#L324

Added line #L324 was not covered by tests

Check warning on line 123 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L123

Added line #L123 was not covered by tests

Check warning on line 128 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L127-L128

Added lines #L127 - L128 were not covered by tests

Check warning on line 131 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L130-L131

Added lines #L130 - L131 were not covered by tests

Check warning on line 174 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L174

Added line #L174 was not covered by tests

Check warning on line 309 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L309

Added line #L309 was not covered by tests

Check warning on line 397 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L397

Added line #L397 was not covered by tests

Check warning on line 498 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L498

Added line #L498 was not covered by tests

Check warning on line 501 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L501

Added line #L501 was not covered by tests

Check warning on line 519 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L519

Added line #L519 was not covered by tests

Check warning on line 604 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L604

Added line #L604 was not covered by tests

Check warning on line 645 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L645

Added line #L645 was not covered by tests

Check warning on line 712 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L712

Added line #L712 was not covered by tests

Check warning on line 1016 in src/aleph_client/commands/instance/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L1015-L1016

Added lines #L1015 - L1016 were not covered by tests

Check warning on line 113 in src/aleph_client/commands/instance/display.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/display.py#L112-L113

Added lines #L112 - L113 were not covered by tests

Check warning on line 170 in src/aleph_client/commands/instance/display.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/instance/display.py#L170

Added line #L170 was not covered by tests

Check warning on line 144 in src/aleph_client/commands/message.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/message.py#L144

Added line #L144 was not covered by tests

Check warning on line 146 in src/aleph_client/commands/message.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/message.py#L146

Added line #L146 was not covered by tests

Check warning on line 225 in src/aleph_client/commands/message.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/message.py#L225

Added line #L225 was not covered by tests

Check warning on line 91 in src/aleph_client/commands/program.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/aleph_client/commands/program.py#L91

Added line #L91 was not covered by tests