Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#433 Feature/SG 143 black formatter

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-143-black-formatter
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      scripts/flake8-config
@@ -1,5 +1,10 @@
 [flake8]
 [flake8]
-ignore = E731, C901, W504 # lambda functions, function too complex, line break after binary operator
+ignore = E731, C901, W503, W504 # lambda functions, function too complex, line break after binary operator
+
+# In order to make flake8 compatible with black formatting
+# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html
+extend-ignore = E203
+
 max-line-length = 160
 max-line-length = 160
 max-complexity = 10
 max-complexity = 10
 exclude =
 exclude =
Discard