Skip to content

Commit 5a0bb95

Browse files
committed
Cleanup
1 parent a29c400 commit 5a0bb95

7 files changed

Lines changed: 9 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ jobs:
6363
shell: bash
6464
run: |
6565
python -m pip install --group test
66-
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
6766
6867
- name: Test with pytest
6968
run: |
@@ -154,8 +153,7 @@ jobs:
154153
shell: bash
155154
run: |
156155
python -m pip install --upgrade setuptools pip
157-
python -m pip install --group dev
158-
if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
156+
python -m pip install --group coverage
159157
160158
- name: Build and install
161159
run: |

.github/workflows/docs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131
run: |
3232
python -m pip install --upgrade pip
3333
python -m pip install --group docs
34-
python -m pip install .
35-
if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
34+
python -m pip install .[all]
3635
3736
- name: Build docs
3837
run: |

.github/workflows/lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
run: |
3232
python -m pip install --upgrade pip
3333
python -m pip install --group lint
34-
if [ -f requirements-lint.txt ]; then pip install -r requirements-lint.txt; fi
3534
3635
- name: Lint (flake8)
3736
run: |

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repos:
3636
# rev: 6.3.0
3737
# hooks:
3838
# - id: pydocstyle
39-
# exclude: tests|examples|data|docs
39+
# exclude: tests|examples|data|docs|setup.py
4040

4141
# - repo: https://github.com/pycqa/isort
4242
# rev: 7.0.0

.readthedocs.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ build:
99
os: ubuntu-22.04
1010
tools:
1111
python: "3"
12+
jobs:
13+
install:
14+
# Since the install step is overridden, pip is no longer updated automatically.
15+
- pip install --upgrade pip
16+
- pip install --group docs
1217

1318
# Build documentation in the "docs/" directory with Sphinx
1419
sphinx:
@@ -27,6 +32,5 @@ formats:
2732

2833
python:
2934
install:
30-
- requirements: requirements-dev.txt
3135
- method: pip
3236
path: .

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ clean:
5757
find . -name __pycache__ -type d -exec $(RM) -r {} +
5858
# $(RM) -r __pycache__ */__pycache__ */*/__pycache__ */*/*/__pycache__
5959
$(RM) src/$(TARGET)/*.c src/$(TARGET)/*.cpp src/$(TARGET)/*.so src/$(TARGET)/*.o
60-
if [ -f docs/Makefile ] ; then $(MAKE) -C docs clean; fi
60+
# if [ -f docs/Makefile ] ; then $(MAKE) -C docs clean; fi
6161
$(RM) -r docs/_build
6262
$(RM) MANIFEST
6363
find . -name '*~' -delete

requirements-dev.txt

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

0 commit comments

Comments
 (0)