C2SM / iconarray

R&D Python package for processing ICON data with xarray
https://c2sm.github.io/iconarray/
BSD 3-Clause "New" or "Revised" License
10 stars 2 forks source link

activate D1 #14

Open cosunae opened 2 years ago

cosunae commented 2 years ago

We want to have darglint reporting about missing documentation. There are various categories in D1. Discuss which ones we have and activate it in setup.cfg

victoria-cherkas commented 1 year ago

Currrently ignored by flake8: (Last 2 are D1 related)

B008    # Do not perform function calls in argument defaults
E203    # Whitespace before ':' (black formatter breaks this sometimes)
E501    # Line too long (using Bugbear's B950 warning)
W503    # Line break occurred before a binary operator
E731    # Do not assign a lambda expression, use a def
C901    # Function is too complex
DAR000  # Unexpected exception in darglint: Multiple types should be combined into a Union
D107    # Missing docstring in __init__
D105    # Missing docstring in magic method