Commit Graph

30 Commits

Author SHA1 Message Date
Maksim Kurnikov
5a45544e76 Optimize tests typechecking script (#255)
* skip whole Django repo for tests typechecking

* lint
2019-12-11 00:52:08 +03:00
Maksim Kurnikov
4ac43c6ed6 Add Django 3.0 testing to CI (#246)
* add Django 3.0 testing to CI

* remove importlib_metadata usage

* conditionally load choices module for tests
2019-12-06 23:36:24 +03:00
Maksim Kurnikov
cadd6c963b fix model's on_cascade= parameter for test, update to latest gdal (#247) 2019-12-06 03:40:55 +03:00
Maxim Kurnikov
963d50c717 add linting stubs with flake8-pyi and check for unused imports (#186) 2019-09-25 02:20:23 +03:00
Daniel Hahler
afcd0d9293 Bump isort, use --diff (#164)
* dev-requirements: bump isort: 4.3.4 => 4.3.21

* isort: use --diff

* known_first_party = mypy_django_plugin

* Run isort
2019-09-23 20:45:43 +03:00
Maxim Kurnikov
68aebe2528 Add django.contrib.gis.db.models and django.contrib.gis.db.models.fields (#177)
* add django.contrib.gis.db.models and django.contrib.gis.db.models.fields

* install gdal in ci

* add sudo to apt

* add apt update
2019-09-23 19:30:32 +03:00
Daniel Hahler
82e3aa5464 ci: minor cleanup (#161)
* ci: Travis: remove unnecessary option with black

Already in config, adding a final newline there.

* .travis.yml: minor cleanup
2019-09-14 21:49:13 +03:00
Maxim Kurnikov
1b6c337aef enable mypy typechecking for plugin code 2019-07-25 20:03:10 +03:00
Maxim Kurnikov
bc42cc2fa1 add python3.6 tests typechecking 2019-07-25 19:56:37 +03:00
Maxim Kurnikov
a97d76020c enable tests typechecking using django submodule 2019-07-24 23:44:57 +03:00
Maxim Kurnikov
6332620443 rewrite pytest-mypy-plugin extension code to use new hook 2019-07-24 13:39:24 +03:00
Maxim Kurnikov
46c48b504f tweak travis config to use new tests properly 2019-07-24 13:38:50 +03:00
Maxim Kurnikov
b11a9a85f9 new semanal wip 1 2019-07-24 13:38:49 +03:00
Maxim Kurnikov
c962b8ac68 attempt to add flake8 and isort 2019-03-01 02:07:53 +03:00
Maxim Kurnikov
70c3126348 add plugin testing for python3.6 2019-02-27 18:12:29 +03:00
Maxim Kurnikov
5a08a99d8b disable deployment on tags for now 2019-02-04 18:46:13 +03:00
Maxim Kurnikov
68c5da12f9 add pypi deploy config 2019-02-03 21:13:36 +03:00
Maxim Kurnikov
835889e3a4 move to plain python script for typechecking 2019-01-26 19:12:24 +03:00
Maxim Kurnikov
1afa079b0b add tests for the django test suite 2019-01-26 17:17:35 +03:00
Maxim Kurnikov
584380a8a9 disable django tests typecheck 2019-01-05 19:41:52 +03:00
Maxim Kurnikov
67ce5e2daa fix ci job 2019-01-05 19:37:24 +03:00
Maxim Kurnikov
c4e8f09ed1 fix ci typecheck tests 2019-01-05 19:32:51 +03:00
Maxim Kurnikov
dbf6538795 add new job 2019-01-05 19:16:05 +03:00
Maxim Kurnikov
8a712d46b5 typecheck django tests, allow failures 2019-01-05 19:10:23 +03:00
Maxim Kurnikov
070cecda10 finish moving generated stubs 2018-12-22 05:18:27 +03:00
Maxim Kurnikov
25a71a7ef5 some stubs 2018-12-06 19:04:06 +03:00
Maxim Kurnikov
cf6119bf9b run black over stubs, add checking to travis 2018-12-03 18:52:44 +03:00
Maxim Kurnikov
b69725d8ac do not try to create /run/testdata 2018-11-28 00:45:53 +03:00
Maxim Kurnikov
ba058e340e fix ci 2018-11-28 00:40:54 +03:00
Maxim Kurnikov
919e4a5c9f add travis config 2018-11-12 16:24:04 +03:00