Skip to content

Commit 1efe17a

Browse files
committed
Rm unused CONFIG_DIR and HOME_DIR variables
1 parent 53adad8 commit 1efe17a

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

docs/sources/apiref/config.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@ config
44
.. automodule:: stagpy.config
55
:members:
66

7-
.. data:: HOME_DIR
8-
:annotation: = pathlib.Path.home()
9-
10-
Home directory.
11-
12-
.. data:: CONFIG_DIR
13-
:annotation: = HOME_DIR / '.config' / 'stagpy'
14-
15-
StagPy configuration directory.
16-
177
.. data:: CONFIG_LOCAL
188
:annotation: = pathlib.Path('.stagpy.toml')
199

stagpy/config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
TupleEntry.wrapping(TupleEntry(str), str_sep="."), str_sep="-"
2121
)
2222

23-
HOME_DIR = Path.home()
24-
CONFIG_DIR = HOME_DIR / ".config" / "stagpy"
2523
CONFIG_LOCAL = Path(".stagpy.toml")
2624

2725

0 commit comments

Comments
 (0)