mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-02-27 03:52:20 +08:00
create monkeypatching function for adding get_item dunder (#526)
* run black * create monkeypatching function for adding get_item dunder * whoops i forgot the test * change the name in INSTALLED_APPS to make test pass * turn the whole thing into a proper package * move django_stubs_ext to requirements.txt * also install requirements.txt * attempt to fix pre-commit * numerous small code review fixes * fix dependency issues * small dependency fixes * configure proper license file location * add the rest of the monkeypatching * use strict mypy * update contributing with a note monkeypatching generics * copy release script from parent package
This commit is contained in:
@@ -35,5 +35,12 @@ repos:
|
||||
entry: mypy
|
||||
language: system
|
||||
types: [ python ]
|
||||
exclude: "scripts/*"
|
||||
exclude: "scripts/|django_stubs_ext/"
|
||||
args: [ "--cache-dir=/dev/null", "--no-incremental" ]
|
||||
- id: mypy
|
||||
name: mypy (django_stubs_ext)
|
||||
entry: mypy
|
||||
language: system
|
||||
types: [ python ]
|
||||
files: "django_stubs_ext/|django_stubs_ext/tests/"
|
||||
args: [ "--cache-dir=/dev/null", "--no-incremental", "--strict" ]
|
||||
|
||||
Reference in New Issue
Block a user