dotenv-linter
dotenv-linter copied to clipboard
Test violations codes and docs
We need to tests that all violations
- have unique codes
- correctly sorted inside the code
- have docs in the module docstrings
You can have a look at the example (this code can be even copy-pasted): https://github.com/wemake-services/wemake-python-styleguide/tree/master/tests/test_violations
Awesome! I'll get a look at it this week (super busy with a new contract).
Awesome! Thanks.
I've got the violations testing in order but noticed that we don't have a config.py for this project, unlike the example. In the example, the Configuration object is needed in the final function in test_docs.py to ensure that all documentation for all configurations is available. Is there an equivalent configuration file I should use for this instance that I just don't see or are we not using one?
Not yet. 🙁