-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DeprecationWarning with patched python-json-logger (#103)
* Fix DeprecationWarning with patched python-json-logger Running tests with https://github.com/nhairs/python-json-logger 3.1.0 produces: DeprecationWarning: pythonjsonlogger.jsonlogger has been moved to pythonjsonlogger.json It's easy enough to be compatible with both. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * be explict about versions for later cleanup * fix * remove weird taskName * pre-commit * min version 3.9 * min py version * fix lints * bump versions * min pyversion 3.9 * min pyversion 3.9 * dont build docs on window --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: M Bussonnier <[email protected]>
- Loading branch information
1 parent
bf1dc11
commit 93d37c6
Showing
5 changed files
with
23 additions
and
22 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
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,7 +6,7 @@ build-backend = "hatchling.build" | |
name = "jupyter-events" | ||
description = "Jupyter Event System library" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
authors = [ | ||
{ name = "Jupyter Development Team", email = "[email protected]" }, | ||
] | ||
|
@@ -52,9 +52,10 @@ jupyter-events = "jupyter_events.cli:main" | |
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"sphinx>=8", | ||
"jupyterlite-sphinx", | ||
"myst_parser", | ||
"pydata_sphinx_theme", | ||
"pydata_sphinx_theme>=0.16", | ||
"sphinxcontrib-spelling", | ||
] | ||
test = [ | ||
|
@@ -150,7 +151,7 @@ source = ["jupyter_events"] | |
|
||
[tool.mypy] | ||
files = "jupyter_events" | ||
python_version = "3.8" | ||
python_version = "3.9" | ||
strict = true | ||
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] | ||
warn_unreachable = true | ||
|
@@ -181,6 +182,7 @@ extend-select = [ | |
"EXE", # flake8-executable | ||
"PYI", # flake8-pyi | ||
"S", # flake8-bandit | ||
"G001", # .format and co in logging methods | ||
] | ||
ignore = [ | ||
"E501", # E501 Line too long (158 > 100 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