eric6/Plugins/PluginCodeStyleChecker.py

changeset 7178
43e994af5ee0
parent 6942
2602857055c5
child 7199
c71bd6f21748
--- a/eric6/Plugins/PluginCodeStyleChecker.py	Thu Aug 29 18:59:54 2019 +0200
+++ b/eric6/Plugins/PluginCodeStyleChecker.py	Thu Aug 29 19:00:33 2019 +0200
@@ -335,7 +335,7 @@
         if menuName == "Checks" and self.__projectAct is not None:
             self.__projectAct.setEnabled(
                 e5App().getObject("Project").getProjectLanguage() in
-                ["Python3", "Python2", "Python"])
+                ["Python3", "Python2", "Python", "MicroPython"])
     
     def __projectBrowserShowMenu(self, menuName, menu):
         """
@@ -347,7 +347,7 @@
         """
         if menuName == "Checks" and \
            e5App().getObject("Project").getProjectLanguage() in \
-                ["Python3", "Python2", "Python"]:
+                ["Python3", "Python2", "Python", "MicroPython"]:
             self.__projectBrowserMenu = menu
             if self.__projectBrowserAct is None:
                 self.__projectBrowserAct = E5Action(

eric ide

mercurial