toml-combine 0.1.6__tar.gz → 0.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,6 @@ repos:
7
7
  # File names
8
8
  - id: check-case-conflict
9
9
  # File formats
10
- - id: pretty-format-json
11
10
  - id: check-json
12
11
  - id: check-toml
13
12
  - id: check-yaml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: toml-combine
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: A tool for combining complex configurations in TOML format.
5
5
  Author-email: Joachim Jablon <ewjoachim@gmail.com>
6
6
  License-Expression: MIT
@@ -208,4 +208,12 @@ result = toml_combine.combine(
208
208
  )
209
209
 
210
210
  print(result)
211
+ {
212
+ "production-job-manage": {...},
213
+ "production-job-special-command": {...},
214
+ "staging-job-manage": {...},
215
+ "staging-job-special-command": {...},
216
+ }
211
217
  ```
218
+
219
+ You can pass either `config` (TOML string or dict) or `config_file` (`pathlib.Path` or string path) to `combine()`. Additional `kwargs` restrict the output.
@@ -189,4 +189,12 @@ result = toml_combine.combine(
189
189
  )
190
190
 
191
191
  print(result)
192
+ {
193
+ "production-job-manage": {...},
194
+ "production-job-special-command": {...},
195
+ "staging-job-manage": {...},
196
+ "staging-job-special-command": {...},
197
+ }
192
198
  ```
199
+
200
+ You can pass either `config` (TOML string or dict) or `config_file` (`pathlib.Path` or string path) to `combine()`. Additional `kwargs` restrict the output.
File without changes