Skip to content

Commit

Permalink
Responses to review comments (#22)
Browse files Browse the repository at this point in the history
Add initial changes responding to review comments and implementing new features. Ready for release.
  • Loading branch information
eliotwrobson authored Oct 29, 2024
1 parent 7b83411 commit 9a716bf
Show file tree
Hide file tree
Showing 12 changed files with 588 additions and 40,039 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ jobs:
- name: Run ruff
run: poetry run ruff check .

- name: Run Cython lint
run: poetry run cython-lint .

- name: Run mypy
run: poetry run mypy .
7 changes: 1 addition & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
poetry-version: ["1.8.1"]

steps:
Expand All @@ -33,10 +33,5 @@ jobs:
- name: Install dependencies
run: poetry install --with dev

#- name: Install dependencies
# run: |
# python -m pip install -r build_requirements.txt
# python -m pip install -r test_requirements.txt
# python setup.py build_ext --inplace
- name: Test with pytest
run: poetry run pytest
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ venv

# Cython
*.html
*.cpp
*.c

speed/

Expand Down
43 changes: 41 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cynetdiff"
version = "0.1.13"
version = "0.1.14"
description = "A fast network diffusion library"
authors = ["Eliot W. Robson <[email protected]>"]
license = "MIT"
Expand All @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Mathematics",
"Intended Audience :: Science/Research",
]
Expand Down Expand Up @@ -56,6 +57,7 @@ ruff = "^0.3.0"
pandas-stubs = "^2.2.0.240218"
types-tqdm = "^4.66.0.20240106"
cython = "^3.0.9"
cython-lint = "^0.16.2"

[tool.poetry.group.docs]
optional = true
Expand All @@ -69,10 +71,8 @@ mkdocstrings-python = "^1.7.3"
setuptools = "^69.0.3"


# NOTE to enable Cython generation during development, add "cython" to the
# build dependencies before doing "poetry install".
[build-system]
requires = ["poetry-core", "setuptools"]
requires = ["poetry-core", "setuptools", "cython"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.build]
Expand All @@ -81,7 +81,7 @@ generate-setup-file = false


[tool.mypy]
python_version = "3.10"
python_version = "3.13"

[[tool.mypy.overrides]]
module = ["networkx.*", "Cython.*", "ndlib.*", "pooch.*", "matplotlib.*"]
Expand Down
Loading

0 comments on commit 9a716bf

Please sign in to comment.