Skip to content

Commit

Permalink
Update directory tree to SOFTX guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jlgarridol committed Jun 21, 2024
1 parent 8e729d1 commit 30b395b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# ADJUST THIS: install all dependencies (including pdoc)
- run: python -m pip install --upgrade pip
- run: python -m pip install pdoc
- run: if [ -f src/requirements.txt ]; then pip install -r src/requirements.txt; fi
- run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- run: python -m pip install scikit-learn==1.2.2
# ADJUST THIS: build your documentation into docs/.
# We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest coverage
pip install -r src/requirements.txt
pip install -r requirements.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -37,7 +37,6 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
cd src
coverage run -m pytest test
# Only if ubuntu-latest
- name: Coverage
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ filterwarnings =
ignore:y contains no unlabeled samples
ignore::FutureWarning
ignore::DeprecationWarning
pythonpath = src
9 changes: 9 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[metadata]
description_file = README.md
[options]
package_dir=
=src
packages=find:

[options.packages.find]
where=src
File renamed without changes.
2 changes: 0 additions & 2 deletions src/setup.cfg

This file was deleted.

0 comments on commit 30b395b

Please sign in to comment.