Skip to content

Commit

Permalink
Update template
Browse files Browse the repository at this point in the history
  • Loading branch information
hollow committed Sep 2, 2024
1 parent 7c54b1b commit 694a13e
Show file tree
Hide file tree
Showing 7 changed files with 323 additions and 293 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Changes here will be overwritten by Copier
_commit: v2.25.1
_commit: v2.30.0
_src_path: gh:remerge/template
project_id: ansible-role-grafana-agent
project_license: apache-2.0
Expand Down
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.{js,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
Empty file added .gitattributes
Empty file.
12 changes: 8 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*.lzma
*.cab
*.xar
*.zst
*.tzst

# Packing-only formats
*.iso
Expand Down Expand Up @@ -221,10 +223,6 @@ $RECYCLE.BIN/
## User settings
xcuserdata/

## Xcode 8 and earlier
*.xcscmblueprint
*.xccheckout

## https://raw.githubusercontent.com/github/gitignore/main/community/OpenSSL.gitignore

# OpenSSL-related files best not committed
Expand Down Expand Up @@ -287,6 +285,9 @@ xcuserdata/
go.work
go.work.sum

# env file
.env

## https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore

# Logs
Expand Down Expand Up @@ -612,6 +613,9 @@ override.tf.json
*_override.tf
*_override.tf.json

# Ignore transient lock info files created by terraform apply
.terraform.tfstate.lock.info

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

Expand Down
10 changes: 2 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ repos:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
exclude: |
(?x)^(
\.vscode/.*\.json|
\.eslintrc\.json
)$
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
Expand All @@ -46,7 +40,7 @@ repos:
types: [text]
exclude: "^project/"
additional_dependencies:
- "[email protected].2"
- "[email protected].3"

# https://github.com/igorshubovych/markdownlint-cli/tags
- repo: https://github.com/igorshubovych/markdownlint-cli
Expand Down Expand Up @@ -84,7 +78,7 @@ repos:

# https://github.com/bridgecrewio/checkov/tags
- repo: https://github.com/bridgecrewio/checkov
rev: "3.2.183"
rev: "3.2.235"
hooks:
- id: checkov
name: checkov
Expand Down
574 changes: 298 additions & 276 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ package-mode = false
python = "^3.10, < 3.13"

[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
flake8 = "^7.1.0"
flake8-bugbear = "^24.4.26"
pylint = "^3.2.5"
black = "^24.8.0"
flake8 = "^7.1.1"
flake8-bugbear = "^24.8.19"
pylint = "^3.2.6"
ansible-lint = { version = "^24.7.0", markers = "platform_system != 'Windows'" }

[build-system]
Expand Down

0 comments on commit 694a13e

Please sign in to comment.