(PyCharm)

This commit is contained in:
enkore 2013-10-01 13:10:48 +02:00
parent f1b565f4d5
commit 72f1c04c57
5 changed files with 18 additions and 0 deletions

1
.idea/.name generated Normal file
View File

@ -0,0 +1 @@
i3pystatus

View 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>

View 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>

View File

@ -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()

View File

@ -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"""