Skip to content

Commit

Permalink
Merge pull request #46 from locp/bugfix/35-fix-file_lines-issue-in-te…
Browse files Browse the repository at this point in the history
…stinfra_bdd__init__py

Fix file lines issue in testinfra bdd  init  py
  • Loading branch information
dallinb authored Jul 21, 2022
2 parents 09773e8 + 0e1c245 commit c102ef1
Show file tree
Hide file tree
Showing 25 changed files with 1,137 additions and 968 deletions.
2 changes: 1 addition & 1 deletion .bandit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[bandit]
skips: B101
skips: B101,B404
71 changes: 71 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
version: "2" # required to adjust maintainability checks

checks:
argument-count:
enabled: true
config:
threshold: 4
complex-logic:
enabled: true
config:
threshold: 4
file-lines:
enabled: true
config:
threshold: 250
method-complexity:
enabled: true
config:
threshold: 5
method-count:
enabled: true
config:
threshold: 20
method-lines:
enabled: true
config:
threshold: 25
nested-control-flow:
enabled: true
config:
threshold: 4
return-statements:
enabled: true
config:
threshold: 4
similar-code:
enabled: true
config:
threshold: # language-specific defaults. overrides affect all languages.
identical-code:
enabled: true
config:
threshold: # language-specific defaults. overrides affect all languages.

plugins:
markdownlint:
enabled: true
radon:
enabled: true
sonar-python:
enabled: true
config:
tests_patterns:
- tests/**

exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "Tests/"
- "**/vendor/"
- "**/*_test.go"
- "**/*.d.ts"
- "CHANGELOG.md" # This file is auto-generated.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ jobs:
pip freeze
pip check
- name: Bandit
run: bandit -r .

- name: Test
run: make test
- name: Run Make
run: make

- name: Publish Code Coverage
uses: paambaati/[email protected]
Expand Down
Loading

0 comments on commit c102ef1

Please sign in to comment.