Skip to content

Commit 29798bc

Browse files
committed
Establish a workflow to scrutinies changes. Add setuptools (Why?)
1 parent a2532a2 commit 29798bc

File tree

3 files changed

+118
-93
lines changed

3 files changed

+118
-93
lines changed

.github/workflows/lint.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lint Python Code
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
13+
jobs:
14+
lint: # The name of the job
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.13"
21+
cache: "pip"
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
python -m pip install ruff
26+
27+
- name: Run Ruff
28+
run: ruff check --output-format=github

poetry.lock

+88-91
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ packages = [
1010

1111
[tool.poetry.dependencies]
1212
python = "^3.9 || ^3.10 || ^3.11 || ^3.12 || ^3.13"
13-
coverage = "^6.4.1"
1413

1514
[tool.poetry.dev-dependencies]
1615
tox = "^3.25"
1716
flake8 = "^5.0.4"
18-
coverage = "^6.2"
1917
pytest = "^7.0"
2018
pytest-cov = "^3.0"
2119
watchdog = "^2.1.7"
2220
ruff = "^0.8.3"
21+
coverage = "^6.4.1"
22+
setuptools = "^75.6.0"
2323

2424
[build-system]
2525
requires = ["poetry_core>=1.0.0"]

0 commit comments

Comments
 (0)