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

Suppression de PluginGlobals #80

Open
bchartier opened this issue Aug 16, 2024 · 1 comment
Open

Suppression de PluginGlobals #80

bchartier opened this issue Aug 16, 2024 · 1 comment
Labels
code Related to code organization, refactoring, legibility, best practices

Comments

@bchartier
Copy link
Collaborator

Dans #77 @jbdesbas :

De manière plus générale, je pense que plugin_globals.py n'a plus vraiment de raison d'être, et que toutes les variables globales doivent être définies dans preferences.py et récupérées via PlgOptionsManager().get_value_from_key

@bchartier
Copy link
Collaborator Author

bchartier commented Aug 16, 2024

Première étape allant dans ce sens, j'ai supprimé la classe Singleton et j'ai simplifié le contenu de PluginGlobals : a2c8ff0

@bchartier bchartier added code Related to code organization, refactoring, legibility, best practices and removed optimization labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Related to code organization, refactoring, legibility, best practices
Projects
None yet
Development

No branches or pull requests

1 participant