Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit 412a34da authored by ANDREY Paul's avatar ANDREY Paul
Browse files

Blacken the previous hotfix.

parent 912d579a
No related branches found
No related tags found
No related merge requests found
Pipeline #1100326 passed
...@@ -285,7 +285,7 @@ class TomlConfig: ...@@ -285,7 +285,7 @@ class TomlConfig:
""" """
# Case of valid inputs: return them as-is (including valid None). # Case of valid inputs: return them as-is (including valid None).
if _isinstance_generic( if _isinstance_generic(
inputs, field.type # type: ignore # update when py >=3.9 inputs, field.type # type: ignore # update when py >=3.9
): # see function's notes ): # see function's notes
return inputs return inputs
# Case of None inputs: return default value if any, else raise. # Case of None inputs: return default value if any, else raise.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment