Skip to content

Commit

Permalink
Update the version this rule was added
Browse files Browse the repository at this point in the history
  • Loading branch information
audgirka committed Jun 23, 2023
1 parent 56e3240 commit 6f855da
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 27 deletions.
51 changes: 25 additions & 26 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
{
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.formatOnSave": true
},
"editor.formatOnSave": true,
"evenBetterToml.formatter.alignComments": false,
"evenBetterToml.formatter.allowedBlankLines": 2,
"files.exclude": {
"*.egg-info": true,
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"evenBetterToml.formatter.allowedBlankLines": 2,
"files.exclude": {
"*.egg-info": true,
".pytest_cache": true,
".tox": true,
"__pycache__": true,
Expand All @@ -23,13 +16,12 @@
"grammarly.files.include": [
"**/*.txt",
"**/*.md"
],
"grammarly.hideUnavailablePremiumAlerts": true,
"grammarly.showExamples": true,
"prettier.enable": true,
"python.analysis.exclude": [
"build"
],
],
"grammarly.hideUnavailablePremiumAlerts": true,
"grammarly.showExamples": true,
"python.analysis.exclude": [
"build"
],
"python.formatting.provider": "black",
"python.linting.flake8Args": [
"--ignore=E501,W503"
Expand All @@ -45,8 +37,15 @@
"yaml.completion": true,
"yaml.customTags": [
"!encrypted/pkcs1-oaep scalar",
"!vault scalar"
],
"yaml.format.enable": false,
"yaml.validate": true
}
"!vault scalar"
],
"yaml.format.enable": false,
"yaml.validate": true,
"evenBetterToml.formatter.alignComments": false,
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true
}
}
}
2 changes: 1 addition & 1 deletion src/ansiblelint/rules/complexity.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ComplexityRule(AnsibleLintRule):
description = "There should be limited tasks executed inside any file"
severity = "MEDIUM"
tags = ["experimental", "idiom"]
version_added = "v6.15.0 (last update)"
version_added = "v6.17.2 (last update)"
_re_templated_inside = re.compile(r".*\{\{.*\}\}.*\w.*$")

def matchplay(self, file: Lintable, data: dict[str, Any]) -> list[MatchError]:
Expand Down

0 comments on commit 6f855da

Please sign in to comment.