-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #234 from VisLab/revised-validator
Revised validator
- Loading branch information
Showing
110 changed files
with
26,713 additions
and
18,073 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
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: 300 | ||
method-complexity: | ||
enabled: true | ||
config: | ||
threshold: 5 | ||
method-count: | ||
enabled: true | ||
config: | ||
threshold: 20 | ||
method-lines: | ||
enabled: true | ||
config: | ||
threshold: 50 | ||
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. | ||
|
||
exclude_patterns: | ||
- 'config/' | ||
- 'db/' | ||
- 'dist/' | ||
- 'features/' | ||
- '**/node_modules/' | ||
- 'script/' | ||
- '**/spec/' | ||
- '**/test/' | ||
- '**/tests/' | ||
- '**/spec_tests/' | ||
- '**/docs/' | ||
- 'Tests/' | ||
- '**/vendor/' | ||
- '**/*_test.go' | ||
- '**/*.d.ts' | ||
- '**/*__init__.py' | ||
- '**/*setup.py' | ||
- '**/setup.cfg' | ||
- '**/static/' | ||
- '**/constants/' | ||
- '**/deploy_hed/' | ||
- '**/README*' | ||
- '**/.gitignore' | ||
- '**/LICENSE' | ||
- '**/examples/' | ||
- '**/*.yml' | ||
- '**/*.yaml' | ||
- '**/config_template.py' | ||
- '**/*.txt' | ||
- '**/*.html' | ||
- '**/.coveragerc' | ||
- '**/*.md' | ||
- '**/*.rst' | ||
- '**/templates/' | ||
- '**/conf.py' | ||
- '**/deprecated/' | ||
- '**/versioneer.py' | ||
- '**/_version.py' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[codespell] | ||
skip = datasets,.git,*.pdf,*.svg,deprecated,*.xml,*.mediawiki,*.omn,datasets | ||
ignore-words-list = covert,hed,recuse,afterAll | ||
ignore-words-list = covert,hed,recuse,afterAll,hertzs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.