Tim Martin
|
a1334a70b9
|
Stricter return type annotations for template.Library (#541)
* Stricter return type annotations for template.Library
* Add some unit tests for the template library decorators
|
2021-01-20 23:11:02 +03:00 |
|
William Schwartz
|
5bc3759ea2
|
Template Loader.get_template_sources yield Origins (#476)
django.template.loaders.base.Loader.get_template_sources should yield Origins:
https://docs.djangoproject.com/en/3.1/ref/templates/api/#django.template.loaders.base.Loader.get_template_sources
Currently it's returning none. Objects that yield should be marked as iterables.
https://mypy.readthedocs.io/en/stable/kinds_of_types.html#generators
|
2020-09-30 01:21:38 +03:00 |
|
Alexander Viklund
|
34b126e3da
|
Fix wrong type for parse_until in template parser (#460)
|
2020-09-12 01:58:09 +03:00 |
|
Pavel Savchenko
|
570772f973
|
Revert "Allow template render to string helper functions to accept Context (#372)" (#377)
This reverts commit 64cbb0f70e.
|
2020-06-01 14:34:21 +03:00 |
|
Pavel Savchenko
|
64cbb0f70e
|
Allow template render to string helper functions to accept Context (#372)
* Add failing test case for render_to_string
* Allow Context objects in template render functions
|
2020-05-23 13:47:39 +03:00 |
|
Anthony Ricaud
|
acc3ca4205
|
Contexts can contain Any data (#192)
|
2019-09-28 21:38:04 +03:00 |
|
Anthony Ricaud
|
5910bd1b25
|
resolve_template accepts Sequences of str (#187)
- resolve_template is checking for lists or tuples so let's use a generic Sequence
- Union[Template, Template] seemed redundant
|
2019-09-25 23:32:23 +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 |
|
Maxim Kurnikov
|
9c5a6be9a7
|
split helpers into smaller files
|
2019-07-24 13:38:49 +03:00 |
|
Maxim Kurnikov
|
b397ec04a9
|
add utils_tests test folder to typechecking (#106)
|
2019-07-10 18:19:37 +03:00 |
|
Maxim Kurnikov
|
a77d5b27d8
|
Update typecheck_tests to django 2.2 branch, remove unused ignores (#98)
* update typecheck_tests to django 2.2 branch, remove unused ignores
* lint fixes
|
2019-07-01 18:44:34 +03:00 |
|
Maxim Kurnikov
|
5c6be7ad12
|
Add test to import all modules to check validity of stubs (#56)
* add import_all.test builder
* fix errors
* fix typechecking errors
* fix migrations typechecking
|
2019-03-25 01:57:34 +03:00 |
|
Maxim Kurnikov
|
f980311be0
|
finish strict_optional support, enable it for typechecking of django tests
|
2019-02-18 00:52:56 +03:00 |
|
Maxim Kurnikov
|
82de0a8791
|
lint
|
2019-02-13 20:00:42 +03:00 |
|
Maxim Kurnikov
|
79ebe20f2e
|
add more test folders
|
2019-02-13 19:44:25 +03:00 |
|
Maxim Kurnikov
|
d43cb1fcd7
|
fixes
|
2019-02-06 22:20:12 +03:00 |
|
Maxim Kurnikov
|
0c121d65d1
|
fixes
|
2019-02-06 20:46:05 +03:00 |
|
Maxim Kurnikov
|
d18fc0bf5f
|
enable 6 more test folders
|
2019-02-06 14:29:42 +03:00 |
|
Maxim Kurnikov
|
e4d2b795e3
|
fix ci
|
2019-02-05 16:09:42 +03:00 |
|
Maxim Kurnikov
|
69d4ccaf54
|
fixes, add some testing folders
|
2019-02-04 19:31:37 +03:00 |
|
Maxim Kurnikov
|
d03fddd96d
|
split error suppression for tests typechecking, fix ci, bunch of fixes
|
2019-02-03 19:33:51 +03:00 |
|
Maxim Kurnikov
|
1afa079b0b
|
add tests for the django test suite
|
2019-01-26 17:17:35 +03:00 |
|
Maxim Kurnikov
|
98e60d084f
|
fixes for ci imports failures
|
2019-01-06 21:00:01 +03:00 |
|
Maxim Kurnikov
|
9a2b88b270
|
more cleanups
|
2018-12-22 04:42:37 +03:00 |
|
Maxim Kurnikov
|
59b8008a21
|
django.template cleanups
|
2018-12-22 04:25:22 +03:00 |
|
Maxim Kurnikov
|
d56ca8ea31
|
move most of the generated files
|
2018-12-21 05:47:24 +03:00 |
|
Maxim Kurnikov
|
96cd3ddb27
|
move generated stubs to separate directory, too messty
|
2018-11-10 17:49:18 +03:00 |
|
Maxim Kurnikov
|
2676b335f1
|
add __init__.pyi files to all directories when it doesnt exist
|
2018-09-16 02:55:00 +03:00 |
|
Maxim Kurnikov
|
c0966a5750
|
more cleanups
|
2018-08-14 13:33:49 +03:00 |
|
Maxim Kurnikov
|
a13d4c352a
|
fifth iteration
|
2018-08-14 12:01:01 +03:00 |
|
Maxim Kurnikov
|
8cc446150c
|
fourth iteration
|
2018-08-11 02:23:18 +03:00 |
|
Maxim Kurnikov
|
c6bceb19f4
|
third iteration of stubs
|
2018-08-11 00:19:50 +03:00 |
|
Maxim Kurnikov
|
fa718b8e55
|
better stubs
|
2018-08-05 03:13:19 +03:00 |
|
Maxim Kurnikov
|
cf85607969
|
reformat with black
|
2018-07-29 23:34:58 +03:00 |
|
Maxim Kurnikov
|
4866354600
|
merge with stubgen output
|
2018-07-29 23:25:20 +03:00 |
|
Maxim Kurnikov
|
f471b7b1bf
|
make pep561 compliant
|
2018-07-29 20:19:43 +03:00 |
|