python-igraph
python-igraph copied to clipboard
Warning formatting is not nice
Describe the bug
The formatting of warnings does not play well with the punctuation standard we use in the C core (i.e. that all warning messages should end in a fullstop or other relevant punctuation).
To reproduce
ig.Graph(n=5).hub_score()
RuntimeWarning: Hub and authority scores requested for undirected graph. These are the same as eigenvector centralities. at /centrality/hub_authority.c:297
Notice the fullstop before "at".
Easy solution: Capitalize the "at" as "At".
Version information
Current develop.