dynamist / dynamist/phabfive

Add schema validation to anyconfig data

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
6
Forks
3
Avg merge
2h 18m
Merged PRs (30d)
8

Description

### Environment
* Phabfive version: latest
* Python version: 3.x

### Proposed Functionality

Add json schema validation to the internal data/config that is using anyconfig to build the config file based on files on disk.

https://python-anyconfig.readthedocs.io/en/latest/usage.html#validation-with-and-or-generate-json-schema

An example/WIP schema.yaml:

```
type: object
properties:
PHABFIVE_DEBUG: {type: boolean}
PHAB_TOKEN: {type: string}
PHAB_URL: {type: string}
```

### Use Case

None

### Other?

None

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.