Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Hillier
0872982245 Fix failing mypy tests in users app with django-stubs (#2395)
Adds django-stubs as a requirement for local virtualenv. This is
required now that the User Model type is being resolved properly.
2020-01-13 01:57:20 +11:00
Dani Hodovic
0f515974cb
Remove mypy defaults and set django-stubs setting
https://mypy.readthedocs.io/en/latest/config_file.html

ignore_errors = False
strict_optional = True

Are both set to these values by default. No need to set them in the
config.

```toml
[mypy.plugins.django-stubs]
django_settings_module = config.settings.local
```
mypy.plugins.django-stubs requires django_settings_module to be set.
https://github.com/typeddjango/django-stubs#configuration
2019-12-11 14:58:21 +01:00
Nicolas Stefani
1f68e370ee Updated python version to 3.7 2019-09-29 21:07:59 -03:00
Denis Orehovsky
d7a05cf69d Add mypy to the local dependencies 2018-07-02 10:22:48 +03:00
Nikita P. Shupeyko
9f14254e8e Move pytest settings from setup.cfg to pytest.ini 2018-05-05 12:45:49 +03:00
Fábio C. Barrionuevo da Luz
fb0aaced34 change [pep8] to [pycodestyle] on setup.cfg
use [pycodestyle] instead of [pep8] on setup.cfg because [pep8] section is deprecated after 2.1.0 version of pycodestyle
2017-04-29 18:57:23 -03:00
Audrey Roy Greenfeld
15f350f05e Change repo_name to project_slug for clarity. 2016-04-20 10:00:35 -07:00