dependabot/pip/json-stream-gte-2.5.1-and-lt-3
parent
abea8a1139
commit
594897aa7e
@ -1,3 +0,0 @@
|
|||||||
[flake8]
|
|
||||||
max-line-length = 120
|
|
||||||
extend-ignore = E203,E501
|
|
||||||
@ -1,36 +1,10 @@
|
|||||||
# This workflow will install Python dependencies, run tests and lint with a single version of Python
|
name: Prek checks
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
|
|
||||||
|
|
||||||
name: Python
|
on: [push, pull_request]
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
pull_request:
|
|
||||||
branches: [master]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
prek:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: Set up Python 3.12
|
- uses: j178/prek-action@v2
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.12"
|
|
||||||
- name: Install uv
|
|
||||||
uses: astral-sh/setup-uv@v4
|
|
||||||
with:
|
|
||||||
version: "latest"
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
uv sync
|
|
||||||
- name: Run Python tests
|
|
||||||
run: |
|
|
||||||
uv run pytest --cov
|
|
||||||
- name: Upload coverage reports to Codecov
|
|
||||||
uses: codecov/codecov-action@v3
|
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
[mypy]
|
|
||||||
|
|
||||||
[mypy-json_stream.*]
|
|
||||||
ignore_missing_imports = True
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
3.14
|
||||||
Loading…
Reference in new issue