Files
cadquery/mypy.ini

40 lines
657 B
INI
Raw Normal View History

[mypy]
2020-08-24 20:08:46 +02:00
ignore_missing_imports = False
disable_error_code = no-redef
Free function api (#1469) * Initial free functions * Mypy fixes * Add a mypy plugin that handles _get* * More helpers and fixes * black * More hooks * More ops and primitives * Fill with constraints and cap * Minimal docstrings and mypy fix * Bool op operators for Shape * Extra docstring * Added spline primitive * Added alternative constructors * Update solid * Add shape normalization * Add text * Added moved overload * Another moved overload * Convert location constructor to multimethod * Additional Loc constructor * Extra vertex constructor * Additional cone overload * Start with tests * Fix compouund normalization * Bool op tests * Additional Location overload * test moved and fix bool ops * Different cap params * More tests * Test revolve and offset * Test sweep and loft * Add bool ops * More tests * Test text * Improve coverage for utils * More move[d] and Location overloads * Start working on some docs * Update index * Doc fix * Typo fix * More move/moved overloads * Small doc update * Better Location coverage * Fix angle units in Location * More docs and a usability fix * Cosmetics * Mypy fix * Remove dead code * Coverage tweaks * More docs' * Box centering and box/plane arg order * Docs cosmetics - nicer sweep * Apply suggestions Co-authored-by: Jeremy Wright <wrightjmf@gmail.com> * Add docstrings * Doc tweaks * Bump multimethod version * Add occ_impl.shapes * Mention free funcs in the primer * Typos * Typo * Punctuation --------- Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
2024-05-05 11:25:45 +02:00
plugins = mypy/cadquery-plugin.py
[mypy-ezdxf.*]
ignore_missing_imports = True
no_implicit_optional = False
[mypy-pyparsing.*]
ignore_missing_imports = True
[mypy-IPython.*]
ignore_missing_imports = True
2020-08-24 20:08:46 +02:00
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-nptyping.*]
2020-10-01 08:33:03 +02:00
ignore_missing_imports = True
Added MacOS and Linux to Appveyor test matrix (#816) * Added MacOS and Linux to Appveyor test matrix * Fixed a trailing semicolon that was messing Windows up * Still learning how to handle multiple OSes in Appveyor * Trying to switch from wget to curl * Fixed mistake in conda install line * Figured out the the image and matrix sections cause dupes * Fixed env variable ref, added additional checks, Miniconda with Py 3.9 not available * Added conda install lines for black and mypy * Install OCP stubs for Windows too * Ignore missing nlopt imports * Install pytest * Install pytest Coverage plugin * Added path install * Added install for docutils * Added install for codecov * Trying to install mypy via pip instead of conda * Removed Travis CI yaml file * Removed unneeded CQ install and added on-the-fly mypy and black installs * Changes to rely on environment.yml file rather than fighting it * Trying to substitute the version number in the conda environment file * Back to the inefficient version of swapping the Python version after install * Trying to use cygwin to run sed command in Windows * Trying to debug why the Windows substitution does not work * Trying to get environment variable to work in Windows * Trying to get MacOS sed to work like GNU, and checking resulting environment file * Simplification to only test using the latest stable version of Python from conda * Cleaned up yaml file and forced Windows image to use newer Miniconda * Been missing conda on activate this whole time * Trying to fix errors about conda init not being run * Still trying to fix conda init * Windows-specific handling of shell env variable * Trying different variations for passing the shell to init * Trying to use bash specifically for Linux and MacOS * Trying to simulate a shell restart to pick up conda changes * Trying to work around conda activate altogether * Use separate activate lines for *nix and Windows * Moved activate statements * Still fighting conda differences between OSes * Still working on conda init to work on *nix * Cannot get conda activate to work on *nix * Updated activate line for *nix * New conda activate line * Hopefully the last cleanup
2021-07-11 08:57:14 -04:00
[mypy-nlopt.*]
ignore_missing_imports = True
[mypy-vtkmodules.*]
ignore_missing_imports = True
[mypy-docutils.*]
ignore_missing_imports = True
[mypy-typish.*]
ignore_missing_imports = True
[mypy-casadi.*]
ignore_missing_imports = True