aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorGravatar Volcyy <[email protected]>2018-05-22 19:12:01 +0200
committerGravatar Leon Sandøy <[email protected]>2018-05-22 19:12:01 +0200
commit1a2997fe353344eae6815031357856ac7b128b77 (patch)
treec7fe94c1570115ba34be7966c1da78175f742794 /.gitignore
parentFix typing issue (diff)
Configure constants with YAML file(s) (#57)
* Load various constants from `.yml` file. * Ignore user-provided `config.yml`. * Support environment variables in YAML configuration. * Use "class-based" configuration. * Configure logging properly. * Move the last few constants to YAML. * Fix recursive update accidentally overriding mappings. * Read bot token from YAML configuration. * Add documentation strings and `KeyError` handling. * Remove coding setting from constants module. * Add `help4` channel ID to `config-default.yml`. * Fix a few linting issues from merge. * s/Channels.help1/Channels.help0/g * s/Channels.help2/Channels.help1/g * s/Channels.help3/Channels.help2/g * s/Channels.help4/Channels.help3/g * Adress @JoeBanks13's review comments. * Put a block comment above dataclasses.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index f8625a961..3202baa92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -107,4 +107,7 @@ ENV/
.vagrant
# JSON logfile
-log.json \ No newline at end of file
+log.json
+
+# Custom user configuration
+config.yml