Skip to content

Fixes for git cloning and docker run issues#20

Merged
xprilion merged 2 commits into
mainfrom
dev
Apr 27, 2026
Merged

Fixes for git cloning and docker run issues#20
xprilion merged 2 commits into
mainfrom
dev

Conversation

@xprilion
Copy link
Copy Markdown
Owner

@xprilion xprilion commented Apr 27, 2026

This pull request makes two small but important changes related to repository configuration and the SSH key management logic.

Repository configuration:

  • Removed the Git LFS filter for .png files from .gitattributes, meaning .png files will no longer be tracked using Git LFS.

Key management logic:

  • Updated the default path for the SSH keys directory in the KeyManager class (backend/openmlr/keys/manager.py) to be one level higher, making the path more consistent with the project structure.

The PNG files were committed as regular blobs, not LFS pointers,
causing 'should have been pointers' warnings on clone. Since these
are small files, removing LFS tracking is the simplest fix.

Fixes #18
The path calculation had one extra .parent call, resolving to the
filesystem root instead of /app. This caused PermissionError in Docker
where the container runs as non-root user.

Fixes #19
@github-actions
Copy link
Copy Markdown

Qodana for Python

170 new problems were found

Inspection name Severity Problems
Unbound local variables 🔶 Warning 2
Unused imports 🔶 Warning 2
Invalid type hints definitions and usages 🔶 Warning 1
Unreachable code 🔶 Warning 1
Redundant character escape 🔶 Warning 1
Unused local symbols ◽️ Notice 67
Accessing a protected member of a class or a module ◽️ Notice 43
Unclear exception clauses ◽️ Notice 30
Shadowing names from outer scopes ◽️ Notice 10
Method is not declared static ◽️ Notice 6
PEP 8 naming convention violation ◽️ Notice 4
Non-optimal list declaration ◽️ Notice 2
An instance attribute is defined outside init`` ◽️ Notice 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@xprilion xprilion merged commit eb2cd74 into main Apr 27, 2026
7 checks passed
@xprilion xprilion deleted the dev branch April 27, 2026 07:36
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