Skip to content

Commit b74e616

Browse files
authored
Merge pull request #98 from capitalone/dev
v2025.8.0
2 parents 660c2dd + d06a982 commit b74e616

File tree

12 files changed

+199
-154
lines changed

12 files changed

+199
-154
lines changed

.github/workflows/edgetest.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ on:
77
- cron: '35 17 * * 5'
88
jobs:
99
edgetest:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111
name: running edgetest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
with:
1515
ref: dev
1616
- id: run-edgetest
17-
uses: edgetest-dev/run-edgetest-action@v1.4
17+
uses: edgetest-dev/run-edgetest-action@v1.6
1818
with:
19-
edgetest-flags: '-c pyproject.toml --export'
19+
edgetest-flags: '-c pyproject.toml -r requirements.txt --export'
2020
base-branch: 'dev'
2121
skip-pr: 'false'
22+
add-paths: 'pyproject.toml, requirements.txt'

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: '3.8'
22+
python-version: '3.10'
2323
- name: Install dependencies
2424
run: python -m pip install -r requirements.txt .[dev]
2525
- name: Build

.github/workflows/publish-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v2
2020
with:
21-
python-version: '3.8'
21+
python-version: '3.10'
2222
- name: Install dependencies
2323
run: python -m pip install -r requirements.txt .[dev]
2424
- name: Build and publish

.github/workflows/test-package.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest, windows-latest]
1919
python-version:
20-
- 3.9
2120
- "3.10"
2221
- "3.11"
2322
- "3.12"

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ repos:
1515
hooks:
1616
- id: mypy
1717
exclude: ^(docs|tests)\/
18-
language_version: python3.9
18+
language_version: python3.10
1919
args: [--namespace-packages, --explicit-package-bases, --ignore-missing-imports, --non-interactive, --install-types]
2020
- repo: https://github.com/pre-commit/pre-commit-hooks
2121
rev: v4.4.0
2222
hooks:
2323
- id: trailing-whitespace
2424
- id: debug-statements
2525
- id: end-of-file-fixer
26+
- repo: https://github.com/tox-dev/pyproject-fmt
27+
rev: "v2.5.0"
28+
hooks:
29+
- id: pyproject-fmt

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
author = "Akshay Gupta"
2525

2626
# The short X.Y version
27-
version = "2025.1.0"
27+
version = "2025.8.0"
2828
# The full version, including alpha/beta/rc tags
2929
release = ""
3030

edgetest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Package initialization."""
22

3-
__version__ = "2025.1.0"
3+
__version__ = "2025.8.0"
44

55
__title__ = "edgetest"
66
__description__ = "Bleeding edge dependency testing"

edgetest/interface.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import click
77
import pluggy
8+
import pyproject_fmt
89
from tomlkit import dumps
910

1011
from edgetest import hookspecs, lib
@@ -207,6 +208,9 @@ def cli(
207208
)
208209
with open(requirements, "w") as outfile:
209210
outfile.write(upgraded)
211+
# Run the formatter
212+
if "pyproject-fmt" in parser.get("tool", {}):
213+
pyproject_fmt.run([config])
210214
else:
211215
click.echo(f"Overwriting the requirements file {requirements}...")
212216
upgraded = upgrade_requirements(

0 commit comments

Comments
 (0)