-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop Python 3.9, add 3.12; update pre-commit (#84)
* Drop Python 3.9, add 3.12; update pre-commit * Use latest networkx release, not dev version * Add .codecov.yml
- Loading branch information
Showing
11 changed files
with
67 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
informational: true | ||
patch: | ||
default: | ||
informational: true | ||
changes: false | ||
comment: | ||
layout: "header, diff" | ||
behavior: default | ||
github_checks: | ||
annotations: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ name = "graphblas-algorithms" | |
dynamic = ["version"] | ||
description = "Graph algorithms written in GraphBLAS and backend for NetworkX" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
requires-python = ">=3.10" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Erik Welch", email = "[email protected]"}, | ||
|
@@ -43,7 +43,6 @@ classifiers = [ | |
"Operating System :: Microsoft :: Windows", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
|
@@ -134,7 +133,7 @@ dirty_template = "{tag}+{ccount}.g{sha}.dirty" | |
|
||
[tool.black] | ||
line-length = 100 | ||
target-version = ["py39", "py310", "py311", "py312"] | ||
target-version = ["py310", "py311", "py312"] | ||
|
||
[tool.isort] | ||
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"] | ||
|
@@ -177,7 +176,7 @@ exclude_lines = [ | |
[tool.ruff] | ||
# https://github.com/charliermarsh/ruff/ | ||
line-length = 100 | ||
target-version = "py39" | ||
target-version = "py310" | ||
unfixable = [ | ||
"F841" # unused-variable (Note: can leave useless expression) | ||
] | ||
|
@@ -205,6 +204,7 @@ ignore = [ | |
# "SIM401", # Use dict.get ... instead of if-else-block (Note: if-else better for coverage and sometimes clearer) | ||
# "TRY004", # Prefer `TypeError` exception for invalid type (Note: good advice, but not worth the nuisance) | ||
# "TRY200", # Use `raise from` to specify exception cause (Note: sometimes okay to raise original exception) | ||
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)` (Note: using `|` seems to be slower) | ||
|
||
# Intentionally ignored | ||
"COM812", # Trailing comma missing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters