Skip to content

Commit d007a8f

Browse files
Merge remote-tracking branch 'upstream/main' into ruff-rebase
2 parents 3ca1319 + fef1762 commit d007a8f

5 files changed

Lines changed: 55 additions & 8 deletions

File tree

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
python: [ "3.8", "3.9", "3.10", "3.11" ]
13+
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
1414
os: [ ubuntu-latest, macos-latest, windows-latest ]
1515
runs-on: ${{ matrix.os }}
1616
steps:

poetry.lock

Lines changed: 45 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ bl = "binarylane.console.__main__:main"
2020
taskipy = "^1.10.3"
2121
isort = "*"
2222
black = "*"
23-
pylint = "^2.15.2"
2423
mypy = "*"
2524
types-python-dateutil = "^2.8.19"
2625
pytest = "^7.2.0"
@@ -29,6 +28,12 @@ binarylane-python-client = "^0.13.2a0"
2928
safety = "*"
3029
ruff = "^0.9.6"
3130

31+
[tool.poetry.group.pylint.dependencies]
32+
pylint = { version = "^3.3.4", python = ">=3.9" }
33+
34+
[tool.poetry.group.pylint-38.dependencies]
35+
pylint = { version = "^2.15.2", python = "<3.9" }
36+
3237
[tool.taskipy.tasks]
3338
generate = "python scripts/generate.py"
3439
black = "black ."

src/binarylane/console/parser/help_formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def add_usage(
3131
self,
3232
usage: Optional[str],
3333
actions: Iterable[argparse.Action],
34-
groups: Iterable[argparse._ArgumentGroup],
34+
groups: Iterable[argparse._MutuallyExclusiveGroup],
3535
prefix: Optional[str] = None,
3636
) -> None:
3737
actions = [argparse.Action(["OPTIONS"], "")] + [

src/binarylane/console/runners/httpx_wrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def __init__(self) -> None:
2727
_httpx_request: Optional[Callable[..., httpx.Response]]
2828

2929
def __enter__(self: WrapperT) -> WrapperT:
30+
# pylint: disable=used-before-assignment
3031
self._httpx_request = httpx.request
3132
httpx.request = self.request
3233
return self
@@ -41,6 +42,7 @@ def request(self, *args: Any, **kwargs: Any) -> httpx.Response:
4142
def __exit__(
4243
self, exc_type: Optional[type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[TracebackType]
4344
) -> None:
45+
# pylint: disable=used-before-assignment
4446
httpx.request = self._httpx_request # type: ignore
4547

4648

0 commit comments

Comments
 (0)