mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Add new packages catagory for mypy typing stubs and configure some mypy settings in setup.cfg
This commit is contained in:
		| @@ -20,3 +20,15 @@ omit = | ||||
|   paperless/workers.py | ||||
| 	paperless/wsgi.py | ||||
| 	paperless/auth.py | ||||
|  | ||||
| [mypy] | ||||
| plugins = mypy_django_plugin.main, mypy_drf_plugin.main, numpy.typing.mypy_plugin | ||||
| check_untyped_defs = true | ||||
| disallow_any_generics = true | ||||
| disallow_incomplete_defs = true | ||||
| disallow_untyped_defs = true | ||||
| warn_redundant_casts = true | ||||
| warn_unused_ignores = true | ||||
|  | ||||
| [mypy.plugins.django-stubs] | ||||
| django_settings_module = "paperless.settings" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Trenton H
					Trenton H