This website requires JavaScript.
Explore
Help
Sign In
mirror
/
mbedtls
Watch
1
Star
0
Fork
0
You've already forked mbedtls
mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced
2024-12-27 12:16:07 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
e0d3ffe8af
mbedtls
/
.mypy.ini
5 lines
98 B
INI
Raw
Normal View
History
Unescape
Escape
Allow tests/scripts/foo.py to import from scripts Allow Python scripts in tests/scripts to import modules located in the scripts directory. To do this, use ``` import scripts_path # pylint: disable=unused-import ``` Declare the scripts directory to pylint and to mypy. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-12-10 22:11:59 +00:00
[mypy]
Allow running pylint and mypy on a single file Fix `mypy scripts/xxx.py`, `mypy tests/scripts/xxx.py`, `pylint scripts/xxx.py`, `pylint tests/scripts/xxx.py` failing to find `mbedtls_framework`. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-09-16 16:50:27 +00:00
mypy_path
=
framework/scripts:scripts
mypy: support mbedtls_dev.foo Tell mypy to support packages without an __init__.py (PEP 420 namespace packages). Python 3.3 and (modern) Pylint support them out of the box, but mypy needs to be told to support them. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-12-10 23:33:05 +00:00
namespace_packages
=
True
Allow tests/scripts/foo.py to import from scripts Allow Python scripts in tests/scripts to import modules located in the scripts directory. To do this, use ``` import scripts_path # pylint: disable=unused-import ``` Declare the scripts directory to pylint and to mypy. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-12-10 22:11:59 +00:00
warn_unused_configs
=
True
Reference in New Issue
Copy Permalink