Skip to content

Commit

Permalink
Add dev requirements in pyproject.toml
Browse files Browse the repository at this point in the history
Deprecate requirements-dev.txt
  • Loading branch information
sinhaharsh committed Feb 21, 2024
1 parent eae4be7 commit 24c1a8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
pip install .
pip install .[test]
- name: Lint with flake8
run: |
make lint
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ dependencies = [
[project.scripts]
mrdataset = "MRdataset.cli:cli"
mrds = "MRdataset.cli:cli"

[project.optional-dependencies]
test = [
"pytest~=7.1.2",
"hypothesis>=6.97.1",
"flake8",
"coverage"
]
[project.urls]
Homepage = "https://github.com/Open-Minds-Lab/MRdataset"
Documentation = "https://open-minds-lab.github.io/MRdataset/"
Expand Down

0 comments on commit 24c1a8f

Please sign in to comment.