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

Static type checking / problem annotation / improvements / refactoring #152

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added config sections explicitly to enable static type checking
  • Loading branch information
Root-Core committed Dec 17, 2024
commit d738146d196dd249b21dd9262dd6ff319c408620
3 changes: 3 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
@@ -15,4 +15,7 @@ class MainSection:
class PathSection:
cache_dir: Path = Path.home() / '.cache/protonfixes'

main: MainSection
path: PathSection

config = Config(Path.home() / '.config/protonfixes/config.ini')