remove duplicate method
Some checks failed
Mypy / mypy (push) Failing after 44s
Pytest / pytest (3.12) (push) Failing after 47s
Pytest / pytest (3.13) (push) Failing after 46s
Pytest / pytest (3.14) (push) Failing after 46s
Ruff / ruff (push) Failing after 34s

This commit is contained in:
Justus Kuhlmann 2025-12-04 11:33:29 +01:00
commit 38d00316e1
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -37,26 +37,6 @@ def _create_db(db: str) -> None:
return return
def _create_config(path):
"""
Create the config file for backlogger.
"""
config = ConfigParser()
config['core'] = {
'version': '1.0',
'db_path': os.path.join(path, 'backlogger.db'),
'projects_path': os.path.join(path, 'projects'),
'archive_path': os.path.join(path, 'archive'),
'toml_imports_path': os.path.join(path, 'toml_imports'),
'import_scripts_path': os.path.join(path, 'import_scripts'),
'tracker': 'datalad',
'cached': True,
}
with open(os.path.join(path, '.corrlib'), 'w') as configfile:
config.write(configfile)
def _create_config(path: str) -> None: def _create_config(path: str) -> None:
""" """
Create the config file for backlogger. Create the config file for backlogger.