Skip to content

Commit

Permalink
Merge pull request #104 from mrlesmithjr/refactoring
Browse files Browse the repository at this point in the history
Refactoring
  • Loading branch information
mrlesmithjr authored Jun 15, 2023
2 parents 84ba07b + 220de2d commit 11056e2
Show file tree
Hide file tree
Showing 31 changed files with 1,213 additions and 2,259 deletions.
3 changes: 2 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
skip_list: []
skip_list:
- name[casing]
5 changes: 2 additions & 3 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: molecule lint
run: |
molecule lint
- name: Check linting with pre-commit
run: pre-commit run --all-files
32 changes: 32 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: no-commit-to-branch
args: [--branch, develop, --branch, master, --branch, main]
- id: trailing-whitespace
- repo: https://github.com/ansible-community/ansible-lint
rev: v6.17.1
hooks:
- id: ansible-lint
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
hooks:
- id: yamllint
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 11056e2

Please sign in to comment.