Skip to content

Commit c3e0fc6

Browse files
committed
Minor CI fixes
1 parent 7321cab commit c3e0fc6

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/workflows/changelog.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- name: Install uv
3737
uses: astral-sh/setup-uv@v7
3838
with:
39-
activate-environment: 'true'
4039
enable-cache: 'false'
4140

4241
# no uv cache here because fresh install takes about 1 second

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,10 @@ jobs:
4343

4444
# no uv cache here because fresh install takes about 1 second
4545

46-
- name: Install dependencies
47-
run: |
48-
uv sync --only-group docs
49-
5046
- name: Install dependencies
5147
run: |
5248
uv sync --group dev
5349
54-
# Set the `CODEQL-PYTHON` environment variable to the Python executable
55-
# that includes the dependencies
56-
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
57-
5850
- name: Run mypy
5951
run: python3 -m mypy evacuator
6052

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ exclude_lines = [
120120
"def downgrade\\(\\)",
121121
]
122122

123+
[tool.ruff]
124+
target-version = "py37"
125+
line-length = 120
126+
extend-exclude = ["docs/", "Makefile"]
127+
123128
[tool.mypy]
124129
python_version = 3.7
125130
follow_imports = "silent"

0 commit comments

Comments
 (0)