Repository URL to install this package:
Version:
1:7.26.0-1 ▾
|
datadog-agent
/
opt
/
datadog-agent
/
embedded
/
lib
/
python3.8
/
site-packages
/
in_toto
/
settings.py
|
---|
"""
<Program Name>
settings.py
<Author>
Lukas Puehringer <lukas.puehringer@nyu.edu>
<Started>
June 23, 2016
<Copyright>
See LICENSE for licensing information.
<Purpose>
A central place to define default settings that can be used throughout the
package.
Defaults can be changed,
- here (hardcoded),
- programmatically, e.g.
```
import in_toto.settings
in_toto.settings.ARTIFACT_BASE_PATH = "/home/user/project"
```
- or, when using in-toto via command line tooling, with environment variables
or RCfiles, see the `in_toto.user_settings` module
"""
# The debug setting is used to set to the in-toto base logger to logging.DEBUG
# TODO: This setting is currently not available via environment variables or
# rcfiles, partially because at the moment it is read before we parse
# envvars/rcfiles. Do we want to make it available to those as well?
DEBUG = False
# See docstring of `in-toto.record_artifacts_as_dict` for how this is used
ARTIFACT_EXCLUDE_PATTERNS = ["*.link*", ".git", "*.pyc", "*~"]
# Used as base path for --materials and --products arguments when running
# in-toto-run/in-toto-record
# If not set the current working directory is used as base path
# FIXME: Do we want different base paths for materials and products?
ARTIFACT_BASE_PATH = None