(PyCharm)
This commit is contained in:
parent
f1b565f4d5
commit
72f1c04c57
1
.idea/.name
generated
Normal file
1
.idea/.name
generated
Normal file
@ -0,0 +1 @@
|
||||
i3pystatus
|
7
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
7
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
@ -0,0 +1,7 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0" is_locked="false">
|
||||
<option name="myName" value="Project Default" />
|
||||
<option name="myLocal" value="false" />
|
||||
<inspection_tool class="SqlNoDataSourceInspection" enabled="false" level="WARNING" enabled_by_default="false" />
|
||||
</profile>
|
||||
</component>
|
7
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
7
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
@ -0,0 +1,7 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="PROJECT_PROFILE" value="Project Default" />
|
||||
<option name="USE_PROJECT_PROFILE" value="true" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
@ -16,6 +16,7 @@ SEARCHPATH = (
|
||||
"$XDG_CONFIG_DIRS/i3pystatus.py",
|
||||
)
|
||||
|
||||
|
||||
class ConfigFinder:
|
||||
def __init__(self, searchpath=SEARCHPATH):
|
||||
self.searchpath = searchpath
|
||||
@ -38,6 +39,7 @@ class ConfigFinder:
|
||||
|
||||
raise RuntimeError("Didn't find a config file, tried\n * {mods}".format(mods="\n * ".join(failed)))
|
||||
|
||||
|
||||
class Config:
|
||||
def __init__(self, config_file=None):
|
||||
self.finder = ConfigFinder()
|
||||
|
@ -2,6 +2,7 @@ import inspect
|
||||
import types
|
||||
from importlib import import_module
|
||||
|
||||
|
||||
class ClassFinder:
|
||||
"""Support class to find classes of specific bases in a module"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user