Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#70: Add some basic linter functionality #193

Merged
merged 7 commits into from
Jan 18, 2019
Merged

#70: Add some basic linter functionality #193

merged 7 commits into from
Jan 18, 2019

Conversation

uberspot
Copy link
Contributor

@uberspot uberspot commented Jan 15, 2019

Partial work for #70:

Adding checks for

  • Classes unused in the inventory
  • Orphan secrets files not used but in the secrets path

Also minor consolidation for the "list_all_paths" logic which was duplicated in 3-4 places and a better message for kapitan compile when it fails to load inventories in malformed yaml files.

README.md Outdated Show resolved Hide resolved
kapitan/lint.py Outdated Show resolved Hide resolved
kapitan/lint.py Show resolved Hide resolved
kapitan/lint.py Show resolved Hide resolved
kapitan/lint.py Outdated Show resolved Hide resolved
kapitan/lint.py Show resolved Hide resolved
kapitan/utils.py Show resolved Hide resolved
kapitan/lint.py Show resolved Hide resolved
kapitan/lint.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants