Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REFACTOR: Combine different entry points into a single one #44

Merged
merged 10 commits into from
Feb 4, 2025

Conversation

bebo1010
Copy link
Owner

@bebo1010 bebo1010 commented Feb 4, 2025

Also add functionality to save and load basic camera parameters

Copy link

github-actions bot commented Feb 4, 2025

************* Module src.main
src/main.py:14:0: C0301: Line too long (139/120) (line-too-long)
src/main.py:14:4: C0116: Missing function or method docstring (missing-function-docstring)
src/main.py:41:11: W0718: Catching too general exception Exception (broad-exception-caught)
src/main.py:40:12: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
src/main.py:57:11: W0718: Catching too general exception Exception (broad-exception-caught)
src/main.py:56:12: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
src/main.py:75:11: W0718: Catching too general exception Exception (broad-exception-caught)
src/main.py:74:8: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
************* Module tests.test_file_utils
tests/test_file_utils.py:292:0: C0301: Line too long (154/120) (line-too-long)
tests/test_file_utils.py:263:51: W0621: Redefining name 'mock_open' from outer scope (line 8) (redefined-outer-name)
tests/test_file_utils.py:293:48: W0621: Redefining name 'mock_open' from outer scope (line 8) (redefined-outer-name)
tests/test_file_utils.py:293:35: W0613: Unused argument 'mock_exists' (unused-argument)
tests/test_file_utils.py:293:48: W0613: Unused argument 'mock_open' (unused-argument)
tests/test_file_utils.py:311:50: W0613: Unused argument 'mock_exists' (unused-argument)


Your code has been rated at 9.92/10 (previous run: 9.92/10, +0.00)

Copy link

github-actions bot commented Feb 4, 2025

************* Module src.main
src/main.py:54:12: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
src/main.py:72:12: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
src/main.py:92:8: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)


Your code has been rated at 9.98/10 (previous run: 9.98/10, +0.00)

@bebo1010 bebo1010 force-pushed the refactor/EntryPoint branch from d4ef7d1 to 8011c1b Compare February 4, 2025 06:02
@bebo1010-auto-merge-bot
Copy link

Well done 👍

@bebo1010-auto-merge-bot bebo1010-auto-merge-bot bot merged commit 3e85eaa into master Feb 4, 2025
5 checks passed
@bebo1010-auto-merge-bot bebo1010-auto-merge-bot bot deleted the refactor/EntryPoint branch February 4, 2025 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant