Skip to content

Commit

Permalink
Establish a workflow to scrutinies changes. Add setuptools (Why?)
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenweb committed Dec 18, 2024
1 parent a2532a2 commit 29798bc
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 93 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint Python Code

on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:


jobs:
lint: # The name of the job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff
- name: Run Ruff
run: ruff check --output-format=github
179 changes: 88 additions & 91 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ packages = [

[tool.poetry.dependencies]
python = "^3.9 || ^3.10 || ^3.11 || ^3.12 || ^3.13"
coverage = "^6.4.1"

[tool.poetry.dev-dependencies]
tox = "^3.25"
flake8 = "^5.0.4"
coverage = "^6.2"
pytest = "^7.0"
pytest-cov = "^3.0"
watchdog = "^2.1.7"
ruff = "^0.8.3"
coverage = "^6.4.1"
setuptools = "^75.6.0"

[build-system]
requires = ["poetry_core>=1.0.0"]
Expand Down

0 comments on commit 29798bc

Please sign in to comment.