circup/tests
Neradoc d27ae8164c Make auto-install find user code recursively. Find code.py alternatives.
Auto install:
- Move finding libraries from auto-file into command utils (libraries_from_auto_file)
- Find the first possible code.py alternative in order (like main.py)
- Replace libraries_from_code_py using the ast module instead of findimports
- Get all imports to find local python imports
- Find all dependencies from user code recursively
Update backends:
- Add get_file_content in Backends subclasses
- Remove no longer used get_auto_file_path()
- Add list_dir() to DiskBackend
Update tests
- Add non-bundle imports
- Add submodule import
- Add another mock device to test finding code.py
2025-02-16 18:04:01 +01:00
..
bad_module Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00
dir_module Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00
mock_device Make auto-install find user code recursively. Find code.py alternatives. 2025-02-16 18:04:01 +01:00
mock_device_2 Make auto-install find user code recursively. Find code.py alternatives. 2025-02-16 18:04:01 +01:00
__init__.py Project docs, scaffolding, utilities and other useful stuff. See README for details. 2019-09-02 11:09:21 +01:00
bad_python.py auto install improvements 2023-03-21 01:27:31 +01:00
bundle.json Handle .mpy based modules. Fixes #8. 2019-09-23 17:45:29 +01:00
bundle.json.license Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00
device.json test suite: test for repo and bad major_update 2021-02-11 20:59:03 +01:00
device.json.license Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00
import_styles.py Make auto-install find user code recursively. Find code.py alternatives. 2025-02-16 18:04:01 +01:00
local_module.py Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00
local_module_cp7.mpy handle MPY versions from CP 7.x (#109) 2021-06-27 11:35:17 -07:00
local_module_cp7.mpy.license handle MPY versions from CP 7.x (#109) 2021-06-27 11:35:17 -07:00
mount_exists.txt Some core functionality with tests. 2019-09-02 14:55:25 +01:00
mount_exists.txt.license Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00
mount_missing.txt Some core functionality with tests. 2019-09-02 14:55:25 +01:00
mount_missing.txt.license Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00
remote_module.py Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00
test_bundle_config.json move bundle config to JSON format (#126) 2021-09-08 16:07:21 -07:00
test_bundle_config.json.license move bundle config to JSON format (#126) 2021-09-08 16:07:21 -07:00
test_bundle_config_local.json Add commands for a local list of 3rd party bundles (#128) 2021-09-13 18:27:18 -07:00
test_bundle_config_local.json.license Add commands for a local list of 3rd party bundles (#128) 2021-09-13 18:27:18 -07:00
test_circup.py Make auto-install find user code recursively. Find code.py alternatives. 2025-02-16 18:04:01 +01:00
test_module.mpy Handle .mpy based modules. Fixes #8. 2019-09-23 17:45:29 +01:00
test_module.mpy.license Fix 84 - Apply Cookiecutter style to Circup Repo (#85) 2021-02-19 09:19:15 -08:00