Skip to content

Commit 2770130

Browse files
committed
2025 updates.
1 parent 4363fa9 commit 2770130

File tree

7 files changed

+41
-32
lines changed

7 files changed

+41
-32
lines changed

.flake8

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[flake8]
2+
max-line-length = 88
3+
extend-ignore = E203, W503
4+
# uncomment to limit scope:
5+
# per-file-ignores =
6+
# tests/*: D
7+

.github/workflows/flake8.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- name: Set up Python 3.12
21+
- name: Set up Python 3.13
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: "3.12"
24+
python-version: "3.13"
2525

2626
- name: Install dependencies
2727
run: |

.github/workflows/pytest-unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- name: Checkout simple_functions
2020
uses: actions/checkout@v4
2121

22-
- name: Set up Python 3.12
22+
- name: Set up Python 3.13
2323
uses: actions/setup-python@v5
2424
with:
25-
python-version: "3.12"
25+
python-version: "3.13"
2626

2727
- name: Install dependencies
2828
run: |

environment.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
name: ci
2-
channels:
3-
- defaults
4-
- conda-forge
1+
name: ci_mpm
2+
channels: [conda-forge]
53
dependencies:
6-
- python=3.12
4+
- python=3.13
75
- pip
8-
- numpy>1.2
9-
- scipy
10-
- matplotlib
11-
- sympy
12-
- flake8
13-
- pytest
6+
- pip:
7+
- -e .
8+
- pytest
9+
- pytest-cov
10+
- flake8
11+

pyproject.toml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
11
[build-system]
2-
requires = ["setuptools", "wheel"]
2+
requires = ["setuptools>=75", "wheel"]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "simple-functions"
7+
version = "0.1.0"
8+
description = "Toy repo for CI lecture"
9+
readme = "README.md"
10+
requires-python = ">=3.13"
11+
license = { text = "MIT" }
12+
authors = [{ name = "Your Name" }]
13+
dependencies = []
14+
15+
[tool.setuptools.packages.find]
16+
include = ["simple_functions*"]
17+
18+
[tool.pytest.ini_options]
19+
addopts = "-q"
20+

requirements.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
numpy>1.2
2-
scipy
3-
matplotlib
4-
sympy
5-
flake8
61
pytest
2+
pytest-cov
3+
flake8
4+

setup.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)