~martin-kalcok/juju-lint:unit-tests

Last commit made on 2022-09-06
Get this branch:
git clone -b unit-tests https://git.launchpad.net/~martin-kalcok/juju-lint
Only Martin Kalcok can upload to this branch. If you are Martin Kalcok please log in for upload directions.

Branch merges

Branch information

Name:
unit-tests
Repository:
lp:~martin-kalcok/juju-lint

Recent commits

e504493... by Martin Kalcok

Fix linting errors.

848196a... by Martin Kalcok

Merge remote-tracking branch 'upstream/master' into unit-tests

# Conflicts:
# tests/requirements.txt
# tests/test_jujulint.py

4bd3680... by Martin Kalcok

Mark code without test coverage as "no cover".

This is a temporary measure allowing us to set 100% requirement for code
coverage of all future changes. There will be a follow-up work to cover
currently untested code paths.

6ab4cba... by Martin Kalcok

Add more corner-case unit tests

8a8402d... by Martin Kalcok

Improve docstring of Linter.atoi() method

ea3f302... by Gabriel Cocenza

applied pattern of bootstack charms for make and tox commands.

- added pre-commit support.
- solved lint issues.
- removed debug flag to build snap. If the build fails, it should
  stop the CI and not open the shell from the snap.
- added an aggregator-kubernetes to solve pre-commit yaml check.
- changed tox and make commands to match scripts on the bootstack CI.

Closes-Bug: #1978739
Partial-Bug: #1978841

Reviewed-on: https://code.launchpad.net/~gabrielcocenza/juju-lint/+git/juju-lint/+merge/426219
Reviewed-by: Martin Kalcok <email address hidden>
Reviewed-by: Eric Chen <email address hidden>

5160caa... by Gabriel Cocenza

- removing pyproject-flake8

89f1ae1... by Gabriel Cocenza

applied pattern of bootstack charms for make and tox commands.

- added pre-commit support.
- solved lint issues.
- removed debug flag to build snap. If the build fails, it should
  stop the CI and not open the shell from the snap.
- added an aggregator-kubernetes to solve pre-commit yaml check.
- changed tox and make commands to match scripts on the bootstack CI.

Closes-Bug: #1978739
Partial-Bug: #1978841

d3dfcb2... by Martin Kalcok

Fix incompatibility of flake8 5.0 with some plugins

pycodestyle is inherent dependency of flake8

b5d6a15... by Martin Kalcok

Minor changes to tests/code based on review.