Skip to content

Commit 7a7646f

Browse files
authored
chore: align with the org standard (TS1, CI4, CI5, RF1) (#92)
1 parent 6e2be36 commit 7a7646f

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/_checks.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
with:
1313
enable-cache: true
1414
cache-dependency-glob: "**/pyproject.toml"
15-
- run: uv python install 3.13
16-
- run: uv python pin 3.13
15+
- run: uv python install 3.11
16+
- run: uv python pin 3.11
1717
- run: just install lint-ci
1818

1919
docs:
@@ -55,7 +55,7 @@ jobs:
5555
cache-dependency-glob: "**/pyproject.toml"
5656
- run: uv python install ${{ matrix.python-version }}
5757
- run: uv python pin ${{ matrix.python-version }}
58-
- run: uv sync --all-extras --no-install-project
58+
- run: just install
5959
- name: Confirm the interpreter is free-threaded
6060
if: matrix.python-version == '3.14t'
6161
run: uv run --no-sync python -c "import sys, faststream_redis_timers; assert not sys._is_gil_enabled(), 'GIL is enabled on a t-build'"

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,13 @@ isort.lines-after-imports = 2
7878
isort.no-lines-before = ["standard-library", "local-folder"]
7979

8080
[tool.ruff.lint.extend-per-file-ignores]
81-
"tests/*.py" = [
81+
"tests/**" = [
8282
"S101", # allow asserts
8383
"PLR2004", # allow magic values
8484
]
8585

8686
[tool.pytest.ini_options]
87+
testpaths = ["tests"]
8788
addopts = ""
8889
asyncio_mode = "auto"
8990
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)