Skip to content

Commit dc39a94

Browse files
removed requirements files
1 parent ba4ff52 commit dc39a94

File tree

9 files changed

+33
-79
lines changed

9 files changed

+33
-79
lines changed

.github/workflows/pydocstyle.yml

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

.github/workflows/pytest.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.8", "3.9", "3.10", "3.11"]
17+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1818

1919
steps:
2020
- uses: actions/checkout@v3
@@ -25,9 +25,8 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
if [ -f test/requirements.txt ]; then pip install -r test/requirements.txt; fi
29-
pip install .
28+
pip install .[dev]
3029
python3 -c "import electricpy; print('electricpy.__file__')"
3130
- name: Test with pytest
3231
run: |
33-
pytest --xdoctest
32+
pytest --pydoctest --xdoctest

.github/workflows/sphinx.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,15 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
cp logo/ElectricpyLogo.svg docsource/static/ElectricpyLogo.svg
26-
pip install -r docsource/requirements.txt
2726
- name: Build Sphinx docs
2827
if: success()
2928
run: |
30-
pip install .
29+
pip install .[dev]
3130
python3 -c "import electricpy; print('electricpy.__file__')"
3231
sphinx-build -M html docsource docs
3332
- name: Generate Coverage Badge
3433
if: success()
3534
run: |
36-
pip install -r test/requirements.txt
3735
coverage run --source=./electricpy -m pytest
3836
coverage-badge -o docs/html/coverage.svg
3937

.vscode/settings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
"editor.rulers": [
33
80, 120
44
],
5+
"cSpell.words": [
6+
"electricpy",
7+
"epmath",
8+
"fsolve",
9+
"matplotlib",
10+
"parallelz",
11+
"phasor",
12+
"phasorlist",
13+
"phasorplot",
14+
"phasors",
15+
"powerset",
16+
"pyplot",
17+
"scipy",
18+
"visu"
19+
],
520
"python.testing.pytestArgs": [
621
"-m",
722
"test"

cspell.json

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

docsource/requirements.txt

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

pyproject.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,24 @@ dependencies = [
4141
numerical = ["numdifftools"]
4242
fault = ["arcflash"]
4343
full = ["numdifftools", "arcflash"]
44-
test = [
44+
dev = [
4545
"pytest >=2.7.3",
4646
"xdoctest >= 1.1.3",
4747
"pytest-pydocstyle >= 2.3.2",
4848
"pygments >= 2.18.0",
49+
"wheel",
50+
"sphinx",
51+
"numpydoc",
52+
"myst-parser[linkify]",
53+
"sphinx-sitemap",
54+
"sphinx-git",
55+
"sphinx-immaterial",
56+
"coverage-badge",
57+
"numpy",
58+
"matplotlib",
59+
"scipy",
60+
"sympy",
61+
"numdifftools",
4962
]
5063

5164
[tool.pytest.ini_options]

requirements.txt

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

test/requirements.txt

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

0 commit comments

Comments
 (0)