setup.cfg 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #
  2. # Copyright 2018-2022 Elyra Authors
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. [bdist_wheel]
  17. universal=0
  18. [metadata]
  19. description_file=README.md
  20. [flake8]
  21. application-import-names = elyra, test
  22. application-package-names = elyra, test
  23. enable-extensions = G
  24. # References:
  25. # https://flake8.readthedocs.io/en/latest/user/configuration.html
  26. # https://flake8.readthedocs.io/en/latest/user/error-codes.html
  27. ignore =
  28. # Import formatting
  29. E4,
  30. # Comparing types instead of isinstance
  31. E721,
  32. # Assigning lambda expression
  33. E731,
  34. # Ambiguous variable names
  35. E741,
  36. # File contains nothing but comments
  37. H104,
  38. # Include name with TODOs as in # TODO(yourname)
  39. H101,
  40. # Enable mocking
  41. H216,
  42. # Multi line docstrings should start without a leading new line
  43. H404,
  44. # Multi line docstrings should start with a one line summary followed by an empty line
  45. H405,
  46. # Line break before binary operator
  47. W503,
  48. # Allow breaks after binary operators
  49. W504
  50. import-order-style = google
  51. max-line-length = 120