Skip to content

Commit

Permalink
Add development dependencies as dev extra to be installed with inst…
Browse files Browse the repository at this point in the history
…alling the target `gcnn[dev]`.
  • Loading branch information
m-kurz committed Oct 4, 2024
1 parent e80ffe9 commit 7f248cb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -e .[dev]
- name: Run pylint
run: |
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -e .[dev]
- name: Run unit tests
run: |
Expand Down
28 changes: 22 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "gcnn"
version = "0.1.0"
authors = [
"Marius Kurz <[email protected]>",
"Marius Kurz <[email protected]>",
]
description = "An implementation of Graph Convolutional Neural Networks (GCNN) using TensorFlow."
license = "MIT"
readme = "README.md"
repository = "https://github.com/m-kurz/gcnn/"
keywords = ["Graph Convolutional Neural Networks", "TensorFlow", "Graph Neural Networks"]
keywords = [
"Graph Convolutional Neural Networks",
"TensorFlow",
"Graph Neural Networks",
"Geometric Deep Learning",
"Machine Learning",
"Deep Learning"
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
Expand All @@ -24,6 +31,15 @@ classifiers = [
tensorflow = ">=2.15"
numpy = "*"
matplotlib = "*"
pytest = "*"
pytest-cov = "*"
pylint = "*"

# Add development dependencies as `dev` extra
pytest = { version = "*", optional = true}
pytest-cov = { version = "*", optional = true}
pylint = { version = "*", optional = true}

[tool.poetry.extras]
dev = [
"pytest",
"pytest-cov",
"pylint"
]

0 comments on commit 7f248cb

Please sign in to comment.