Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
edytafraszczak committed Jul 4, 2024
1 parent fd956d1 commit d43a9a5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/nsdlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# flake8: noqa

from nsdlib.algorithms import *
2 changes: 1 addition & 1 deletion src/nsdlib/algorithms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# flake8: noq
# flake8: noqa

from nsdlib.algorithms.outbreaks_detection import (
CPM_Bipartite as outbreaks_detection_CPM_Bipartite,
Expand Down
1 change: 0 additions & 1 deletion src/nsdlib/algorithms/node_evaluation/dynamic_age.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
def dynamic_age(network: Graph) -> Dict[int, float]:
"""Dynamic age source detection method.
References
----------
- [1] V. Fioriti i M. Chinnici, „Predicting the sources of an outbreak with a spectral technique”, ArXiv12112333 Math-Ph Physicsphysics, lis. 2012, Dostęp: 6 maj 2021. [Online]. Dostępne na: http://arxiv.org/abs/1211.2333
Expand Down
1 change: 1 addition & 0 deletions src/nsdlib/algorithms/node_evaluation/net_sleuth.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


def net_sleuth(network: Graph) -> Dict[int, float]:
# flake8: noqa
"""NetSleuth source evaluation method.
References
Expand Down
2 changes: 2 additions & 0 deletions src/nsdlib/algorithms/reconstruction/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# flake8: noqa

from nsdlib.algorithms.reconstruction.sbrp import sbrp
1 change: 1 addition & 0 deletions src/nsdlib/algorithms/reconstruction/sbrp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
def sbrp(
G: Graph, IG: Graph, reconstruction_threshold=0.5, max_iterations: int = 1
) -> Graph:
# flake8: noqa
"""SbRP graph reconstruction algorithm.
@param G: Network
Expand Down

0 comments on commit d43a9a5

Please sign in to comment.