Values set in $HOME/.config/juju-lint/config.yaml were ignored, due to
the default values of the ArgumentParser. This patch
- removes the default values from the parser
- adds default values to the config_default.yaml
- adds tests to check if the config files are read correctly
- fixed setup.py to accept subdirectories under the jujulint project
folder.
- changed the working directory when running functional tests with
the snap to not use local modules.
- updated contributing for func-smoke and func-dev to run functional
tests during development.
- fixed setup.py to accept subdirectories under the jujulint project
folder.
- changed the working directory when running functional tests with
the snap to not use local modules.
- updated contributing for func-smoke and func-dev to run functional
tests during development.
Added cli-parsing tests and fixed some smaller issues
- config-file mocking packed into its own function.
- mocking argv to check if cli values are read
- makes sure test_default_config doesnt read user-config
Values set in $HOME/.config/juju-lint/config.yaml were ignored, due to
the default values of the ArgumentParser. This patch
- removes the default values from the parser
- adds default values to the config_default.yaml
- adds tests to check if the config files are read correctly