eager-dress-66405
12/05/2022, 11:10 PMextra_requirements
for different segments of the codebase. Is this something pants might want to support natively? Any advise on what a plugin for it might look like?eager-dress-66405
12/05/2022, 11:13 PM$ROOT/mypy.ini
) and it doesn’t support hierarchical config like pytest’s conftest.py
.
• To enable the django plugin in mypy you need to make the project settings (django_projects/test/settings.py
) and all transitive deps a mypy
tool resolve dependency. The plugin throws an error if the project can’t be django.setup()
.bitter-ability-32190
12/05/2022, 11:15 PMeager-dress-66405
12/05/2022, 11:16 PMbitter-ability-32190
12/05/2022, 11:17 PMbitter-ability-32190
12/05/2022, 11:17 PMeager-dress-66405
12/05/2022, 11:19 PMbitter-ability-32190
12/05/2022, 11:19 PMsparse-lifeguard-95737
12/05/2022, 11:21 PMcheck
already generic enough that we could roll our own custom mypy plugin with the batching logic?sparse-lifeguard-95737
12/05/2022, 11:21 PMbitter-ability-32190
12/05/2022, 11:21 PMbitter-ability-32190
12/05/2022, 11:21 PMbitter-ability-32190
12/05/2022, 11:22 PMsparse-lifeguard-95737
12/05/2022, 11:22 PMbitter-ability-32190
12/05/2022, 11:23 PMsparse-lifeguard-95737
12/05/2022, 11:23 PMbitter-ability-32190
12/05/2022, 11:24 PMsparse-lifeguard-95737
12/05/2022, 11:24 PMbitter-ability-32190
12/05/2022, 11:25 PMhundreds-father-404
12/05/2022, 11:25 PMBut I think Check does ask for N Check results from the plugin implementorsyes
sparse-lifeguard-95737
12/05/2022, 11:25 PMtest
which was pretty locked into 1 result per target)bitter-ability-32190
12/05/2022, 11:26 PMeager-dress-66405
12/05/2022, 11:42 PMbitter-ability-32190
12/05/2022, 11:44 PMeager-dress-66405
12/05/2022, 11:47 PMbitter-ability-32190
12/05/2022, 11:49 PMeager-dress-66405
12/05/2022, 11:56 PMbitter-ability-32190
12/05/2022, 11:57 PMeager-dress-66405
12/06/2022, 12:01 AMbitter-ability-32190
12/06/2022, 12:03 AMbitter-ability-32190
12/06/2022, 12:03 AMbitter-ability-32190
12/06/2022, 12:03 AMeager-dress-66405
12/07/2022, 4:22 PM