mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-08 03:12:33 +03:00
config.py: top-level docstring, import order, minor edits
This commit is contained in:
parent
6ae6efaee9
commit
b2629286b4
10
config.py
10
config.py
@ -1,9 +1,17 @@
|
|||||||
|
"""
|
||||||
|
Code dealing with the configuration of the program.
|
||||||
|
|
||||||
|
On Windows this uses the Registry to store values in a flat manner.
|
||||||
|
Linux uses a file, but for commonality it's still a flat data structure.
|
||||||
|
"""
|
||||||
|
|
||||||
import numbers
|
import numbers
|
||||||
import sys
|
import sys
|
||||||
import warnings
|
import warnings
|
||||||
from os import getenv, makedirs, mkdir, pardir
|
from os import getenv, makedirs, mkdir, pardir
|
||||||
from os.path import expanduser, dirname, exists, isdir, join, normpath
|
from os.path import dirname, expanduser, isdir, join, normpath
|
||||||
from sys import platform
|
from sys import platform
|
||||||
|
|
||||||
import semantic_version
|
import semantic_version
|
||||||
|
|
||||||
from constants import applongname, appname
|
from constants import applongname, appname
|
||||||
|
Loading…
x
Reference in New Issue
Block a user