[tool.black] # Black configuration (code formatter) # See https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html # or `black --help` for what can go here # Require black version to be 23.x.y required-version = '23' # Install such a version with: # pip install 'black>=23,<24' line-length = 120 target-version = [ 'py310', # used by Blender 3.1 ] # What files to exclude when running Black on directories (for example `black .`) # Use forward slashes for directory delimiters, even on Windows # This is a regular expression, escape dots with a backslash like '\.' # Note: This is a verbose regex (whitespace and "comments" are ignored) # https://docs.python.org/3/library/re.html#re.VERBOSE extend-exclude = ''' ^( # Addon updater is copied from another repo /addon_updater\.py | /addon_updater_ops\.py )$ ''' [tool.pyright] reportInvalidTypeForm = 'none'