aboutsummaryrefslogtreecommitdiff
path: root/run_mypy.py
AgeCommit message (Collapse)AuthorFilesLines
2021-01-13run_mypy: add minstallDylan Baker1-0/+1
2021-01-05modules: Add an unstable-rust moduleDylan Baker1-0/+1
Like other language specific modules this module is module for holding rust specific helpers. This commit adds a test() function, which simplifies using rust's internal unittest mechanism. Rust tests are generally placed in the same code files as they are testing, in contrast to languages like C/C++ and python which generally place the tests in separate translation units. For meson this is somewhat problematic from a repetition point of view, as the only changes are generally adding --test, and possibly some dependencies. The rustmod.test() method provides a mechanism to remove the repatition: it takes a rust target, copies it, and then addes the `--test` option, then creates a Test() target with the `rust` protocol. You can pass additional dependencies via the `dependencies` keyword. This all makes for a nice, DRY, test definition.
2020-11-22Merge pull request #8010 from dcbaker/submit/optinterpreter-cleanupsJussi Pakkanen1-0/+1
Opt Interpreter cleanups and type annotations
2020-11-20use real pathlib moduleDylan Baker1-1/+0
We added the _pathlib module to work around defeciencies in python 3.5's implementation, since we now rely on 3.6 lets drop this
2020-11-20Add type annotations to optinterpreterDylan Baker1-0/+1
2020-10-04pathlib: Fix resolve() by overriding it in Python 3.5Daniel Mensinger1-0/+1
2020-10-01run_mypy: mark the whole compilers package as type safeDylan Baker1-14/+1
2020-10-01compilers/d: add type annotationsDylan Baker1-0/+1
2020-10-01compilers/fortran: add type annotationsDylan Baker1-0/+1
2020-10-01compilers/java: Add type annotationsDylan Baker1-0/+1
2020-10-01compilers/rust: add type annotationsDylan Baker1-0/+1
2020-10-01compilers/swift: Add type annotationsDylan Baker1-0/+1
2020-10-01Compilers/vala: Add type annotationsDylan Baker1-0/+1
2020-10-01compilers/cuda: make type safeDylan Baker1-0/+1
2020-10-01compilers/cpp: Add type annotationsDylan Baker1-0/+1
2020-10-01compilers: fully type annotate the C compilersDylan Baker1-0/+1
2020-09-28typing: fully annotate cmake.interpreterDaniel Mensinger1-0/+1
2020-09-27typing: add convinient option to clear the terminal to run_mypy.pyDaniel Mensinger1-0/+5
2020-09-27typing: fix indentation in run_mypy.pyDaniel Mensinger1-48/+48
2020-09-24compilers/objcpp: add type annotationsDylan Baker1-0/+1
2020-09-24compilers/objc: Add type annotationsDylan Baker1-0/+1
2020-09-24run_mypy: compilers/c_function_attributes is already type safeDylan Baker1-0/+1
2020-09-24run_mypy: all of compilers/mixins is now type safeDylan Baker1-14/+1
2020-09-24compilers/mixins: make xc16 type safeDylan Baker1-0/+1
2020-09-24compilers/mixins: make visual studio type safeDylan Baker1-0/+1
2020-09-24compilers/mixins/pgi: Make type safeDylan Baker1-0/+1
2020-09-24compilers/mixins/islinker: Make type safeDylan Baker1-0/+1
2020-09-24compilers/mixins/intel: make type safeDylan Baker1-1/+1
2020-09-24compilers/mixins/emscripten: make type safeDylan Baker1-0/+1
2020-09-24compilers/mixins/elbrus: make type safeDylan Baker1-0/+1
2020-09-24compilers/mixins: make compcert type safeDylan Baker1-0/+1
2020-09-24compilers/mixins/clang: Make type safeDylan Baker1-0/+1
2020-09-24compilers/mixings/gnu: make type safeDylan Baker1-0/+1
2020-09-24compilers/mixins/clike: fix mypy issuesDylan Baker1-0/+1
2020-09-24compilers/mixins/ccrx: make mypy safeDylan Baker1-0/+1
2020-09-24compilers/mixins/c2000: Make mypy safeDylan Baker1-0/+1
2020-09-24compilers/mixins/arm: make type safeDylan Baker1-0/+1
2020-09-24compilers/compilers: Fully type annotateDylan Baker1-0/+1
2020-09-16linkers: fully type annotate and fix mypy issuesDylan Baker1-0/+1
This makes GnuDynamicLinker not suitable for instantiation, so the tests need to be changed to use the BFD class.
2020-09-08typing: more fixesDaniel Mensinger1-0/+1
2020-09-08typing: update run_mypy and mypy.iniDaniel Mensinger1-72/+26
2020-09-08typing: fix envconfig typingDaniel Mensinger1-1/+1
2020-09-08typing: fully annotate mintro and mtestDaniel Mensinger1-0/+2
2020-09-08typing: fully annotate mcompile, minit, and msetupDaniel Mensinger1-0/+3
2020-09-08typing: fully annotate fs moduleDaniel Mensinger1-0/+1
2020-09-08typing: fully annotate arglistDaniel Mensinger1-0/+2
2020-09-08typing: fully annotate boost and hdf5 depsDaniel Mensinger1-0/+3
2020-09-08typing: fully annotate scriptsDaniel Mensinger1-0/+2
2020-09-08typing: fully annotate toolsDaniel Mensinger1-0/+1
2020-09-08typing: fully annotate wrapDaniel Mensinger1-1/+1