-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linting fixes and CI config for multiple Python 3.9+ (#34)
* Disable fail-fast * Disable py38 build * Remove docs workflow and re-add 3.8 to test matrix * Linting fixes; set default language version to 3.9 in pre-commit * Use 3.9 as the default CI version * Update dummy version tag in tests * Cancel running CI jobs if new changes are pushed to a PR * Run pre-commit autoupdate and unpin flake8 plugins * Add a second dummy test that checks top-level imports * Drop 3.8 support * Run linting with new black rules and fix warnings stacklevel warning * Reinforce python3.9 in pre-commit to avoid linting slosh * Use Python 3.9 compatible type hints for pydantic objects
- Loading branch information
Showing
33 changed files
with
100 additions
and
117 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
getting_started.svg: https://www.svgrepo.com/svg/393367/rocket (PD Licence) | ||
user_guide.svg: https://www.svgrepo.com/svg/75531/user-guide (CC0 Licence) | ||
api.svg: https://www.svgrepo.com/svg/157898/gears-configuration-tool (CC0 Licence) | ||
contributor.svg: https://www.svgrepo.com/svg/57189/code-programing-symbol (CC0 Licence) | ||
contributor.svg: https://www.svgrepo.com/svg/57189/code-programing-symbol (CC0 Licence) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ API Reference | |
|
||
This is the API reference | ||
|
||
.. include:: jobflow_remote.rst | ||
.. include:: jobflow_remote.rst |
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 |
---|---|---|
|
@@ -11,4 +11,3 @@ Glossary | |
|
||
Worker | ||
The description of a given resource where to execute flows. | ||
|
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 |
---|---|---|
|
@@ -9,4 +9,3 @@ fundamental Jobflow-Remote ideas and philosophy. | |
.. | ||
.. toctree:: | ||
:maxdepth: 1 | ||
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 |
---|---|---|
|
@@ -12,7 +12,6 @@ authors = [{ name = "Guido Petretto", email = "[email protected]" }] | |
dynamic = ["version"] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
|
@@ -24,7 +23,7 @@ classifiers = [ | |
"Topic :: Other/Nonlisted Topic", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
dependencies =[ | ||
"jobflow[strict]", | ||
"pydantic<2", | ||
|
@@ -81,7 +80,7 @@ max-line-length = 88 | |
max-doc-length = 88 | ||
select = "C, E, F, W, B" | ||
extend-ignore = "E203, W503, E501, F401, RST21" | ||
min-python-version = "3.8.0" | ||
min-python-version = "3.9.0" | ||
docstring-convention = "numpy" | ||
rst-roles = "class, func, ref, obj" | ||
|
||
|
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
Oops, something went wrong.