Skip to content

Commit

Permalink
Fix pyproject.toml to include dev dependencies
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 7b0aa99 commit eae290a
Show file tree
Hide file tree
Showing 3 changed files with 9 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 @@ -27,7 +27,13 @@ classifiers = [
"Natural Language :: English",
"Programming Language :: Python :: 3.11",
]

[project.optional-dependencies]
test = [
"requests",
"pytest",
"hypothesis",
"flake8",
]
[project.urls]
Homepage = "https://github.com/raamana/protocol"

Expand Down
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ lxml
nibabel
hypothesis
flake8
requests

0 comments on commit eae290a

Please sign in to comment.