@seniorsistemas/exclusion-process-component 0.0.1-40efacd8-8a6c-4d38-8102-8c977c14410a → 0.6.0-44030ff3-2eeb-49f7-8927-0920cc01a805

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/.editorconfig +19 -0
  2. package/.gitlab-ci.yml +74 -0
  3. package/.prettierrc +8 -0
  4. package/.senior-ci-extensions.sh +21 -0
  5. package/.vscode/settings.json +6 -0
  6. package/CHANGELOG.md +22 -0
  7. package/README.md +16 -0
  8. package/angular.json +144 -0
  9. package/archive.tar.gz +0 -0
  10. package/e2e/app.e2e-spec.ts +14 -0
  11. package/e2e/app.po.ts +11 -0
  12. package/e2e/tsconfig.e2e.json +14 -0
  13. package/karma.conf.js +53 -0
  14. package/lib/.browserslistrc +5 -0
  15. package/lib/package.json +19 -0
  16. package/{enums/enum-exclusion-process-status.d.ts → lib/src/enums/enum-exclusion-process-status.ts} +1 -1
  17. package/lib/src/exclusion-details/exclusion-details.component.html +84 -0
  18. package/lib/src/exclusion-details/exclusion-details.component.scss +47 -0
  19. package/lib/src/exclusion-details/exclusion-details.component.spec.ts +171 -0
  20. package/lib/src/exclusion-details/exclusion-details.component.ts +235 -0
  21. package/lib/src/exclusion-details/exclusion-details.module.ts +23 -0
  22. package/{exclusion-details/protocols/exclusion-details.d.ts → lib/src/exclusion-details/protocols/exclusion-details.ts} +1 -0
  23. package/{exclusion-details/protocols/show-details-information.d.ts → lib/src/exclusion-details/protocols/show-details-information.ts} +1 -1
  24. package/lib/src/exclusions-list/exclusions-list.component.html +157 -0
  25. package/lib/src/exclusions-list/exclusions-list.component.spec.ts +526 -0
  26. package/lib/src/exclusions-list/exclusions-list.component.ts +335 -0
  27. package/lib/src/exclusions-list/exclusions-list.module.ts +52 -0
  28. package/lib/src/exclusions-list/exclusions-list.routing.ts +89 -0
  29. package/{exclusions-list/index.d.ts → lib/src/exclusions-list/index.ts} +0 -1
  30. package/lib/src/logical-delete.module.ts +22 -0
  31. package/{models/exclusion-process-step-group.d.ts → lib/src/models/exclusion-process-step-group.ts} +1 -0
  32. package/{models/exclusion-process-step.d.ts → lib/src/models/exclusion-process-step.ts} +1 -0
  33. package/{models/exclusion-process.d.ts → lib/src/models/exclusion-process.ts} +1 -0
  34. package/{models/list-params.d.ts → lib/src/models/list-params.ts} +1 -0
  35. package/{models/project-config.d.ts → lib/src/models/project-config.ts} +3 -1
  36. package/{public-api.d.ts → lib/src/public-api.ts} +0 -1
  37. package/lib/src/services/filter.service.spec.ts +290 -0
  38. package/lib/src/services/filter.service.ts +109 -0
  39. package/lib/src/services/logical-delete-config.service.spec.ts +59 -0
  40. package/lib/src/services/logical-delete-config.service.ts +25 -0
  41. package/lib/src/services/logical-delete.service.spec.ts +322 -0
  42. package/lib/src/services/logical-delete.service.ts +122 -0
  43. package/lib/test.ts +14 -0
  44. package/lib/tsconfig.lib.json +19 -0
  45. package/lib/tsconfig.lib.prod.json +6 -0
  46. package/lib/tsconfig.spec.json +12 -0
  47. package/lib/tslint.json +19 -0
  48. package/package.json +59 -18
  49. package/protractor.conf.js +28 -0
  50. package/senior-ci/.devcontainer/Dockerfile +27 -0
  51. package/senior-ci/.devcontainer/devcontainer.json +71 -0
  52. package/senior-ci/.editorconfig +14 -0
  53. package/senior-ci/.gitattributes +5 -0
  54. package/senior-ci/.gitlab-ci.yml +53 -0
  55. package/senior-ci/.pylintrc +562 -0
  56. package/senior-ci/.vscode/launch.json +102 -0
  57. package/senior-ci/CHANGELOG.md +1564 -0
  58. package/senior-ci/CONTRIBUTING.md +31 -0
  59. package/senior-ci/README.md +26 -0
  60. package/senior-ci/ci/ci.sh +74 -0
  61. package/senior-ci/ci/sonar_scanner.py +48 -0
  62. package/senior-ci/common/__init__.py +250 -0
  63. package/senior-ci/common/default-files/pom.xml +10 -0
  64. package/senior-ci/common/docker-helpers.sh +57 -0
  65. package/senior-ci/common/extensions.py +88 -0
  66. package/senior-ci/common/flutter-helpers.sh +3 -0
  67. package/senior-ci/common/getopt_helper.py +168 -0
  68. package/senior-ci/common/graphql_client.py +40 -0
  69. package/senior-ci/common/helm_helpers.py +40 -0
  70. package/senior-ci/common/notification-helpers.sh +15 -0
  71. package/senior-ci/common/npm-helper.sh +4 -0
  72. package/senior-ci/common/parallel-helper.sh +8 -0
  73. package/senior-ci/common/release-helpers.sh +196 -0
  74. package/senior-ci/common/s3cache-helpers.sh +47 -0
  75. package/senior-ci/common/senior-ci-extensions-helpers.sh +15 -0
  76. package/senior-ci/common/sonar_helper.py +203 -0
  77. package/senior-ci/common/validations/buildable_project.py +61 -0
  78. package/senior-ci/common/validations/check_deprecated_primitives.py +49 -0
  79. package/senior-ci/common/validations/check_project_path.py +40 -0
  80. package/senior-ci/common/validations/check_sonar_config_files.py +41 -0
  81. package/senior-ci/common/validations/check_tags.py +41 -0
  82. package/senior-ci/common/validations/validate_changelog.py +151 -0
  83. package/senior-ci/common/validations/validate_issues.py +320 -0
  84. package/senior-ci/docker/build.sh +18 -0
  85. package/senior-ci/docker/config-host.sh +29 -0
  86. package/senior-ci/docker/deploy-service.sh +79 -0
  87. package/senior-ci/docker/push.sh +22 -0
  88. package/senior-ci/frontend/npm/bibliotecas/ci.sh +149 -0
  89. package/senior-ci/frontend/npm/ci.sh +370 -0
  90. package/senior-ci/frontend/npm/release-translations.sh +164 -0
  91. package/senior-ci/helm/deploy.py +56 -0
  92. package/senior-ci/helm/publish.py +41 -0
  93. package/senior-ci/hook/release_notification.sh +88 -0
  94. package/senior-ci/hook/text_notification.sh +10 -0
  95. package/senior-ci/java/bibliotecas/ci.sh +215 -0
  96. package/senior-ci/java/sdl/ci.sh +372 -0
  97. package/senior-ci/java/sdl/scripts/hotfix.sh +78 -0
  98. package/senior-ci/mobile/flutter/apps/__main__.py +5 -0
  99. package/senior-ci/mobile/flutter/apps/ci.py +193 -0
  100. package/senior-ci/mobile/flutter/libs/__main__.py +5 -0
  101. package/senior-ci/mobile/flutter/libs/ci.py +178 -0
  102. package/senior-ci/mobile/flutter/scripts/release.sh +54 -0
  103. package/senior-ci/release-candidate/backend/get_version.sh +64 -0
  104. package/senior-ci/release-candidate/close_branch.sh +113 -0
  105. package/senior-ci/release-candidate/common/create_hotfix.sh +28 -0
  106. package/senior-ci/release-candidate/common/create_release.sh +30 -0
  107. package/senior-ci/release-candidate/create_branch.sh +64 -0
  108. package/senior-ci/release-candidate/frontend/get_version.sh +43 -0
  109. package/senior-ci/requirements-dev.txt +5 -0
  110. package/senior-ci/requirements.txt +5 -0
  111. package/senior-ci/scripts/apply_yamls.py +229 -0
  112. package/senior-ci/scripts/create_sre_issue/__main__.py +7 -0
  113. package/senior-ci/scripts/create_sre_issue/create_sre_issue.py +267 -0
  114. package/senior-ci/scripts/create_sre_issue/helpers.py +166 -0
  115. package/senior-ci/scripts/create_sre_issue/jira_manager.py +37 -0
  116. package/senior-ci/scripts/validate_changelog.sh +3 -0
  117. package/senior-ci/sonar-project.properties +1 -0
  118. package/server.js +5 -0
  119. package/sonar-project.properties +10 -0
  120. package/src/app/app.component.html +43 -0
  121. package/src/app/app.component.scss +36 -0
  122. package/src/app/app.component.ts +56 -0
  123. package/src/app/app.module.ts +64 -0
  124. package/src/app/shared/shared.module.ts +28 -0
  125. package/src/environments/environment.default.ts +3 -0
  126. package/src/environments/environment.prod.ts +6 -0
  127. package/src/environments/environment.ts +7 -0
  128. package/src/favicon.ico +0 -0
  129. package/src/index.html +17 -0
  130. package/src/locale/en-US.json +3 -0
  131. package/src/locale/es-ES.json +3 -0
  132. package/src/locale/pt-BR.json +3 -0
  133. package/src/main.ts +13 -0
  134. package/src/polyfills.ts +58 -0
  135. package/src/styles.scss +11 -0
  136. package/src/tsconfig.app.json +21 -0
  137. package/src/typings.d.ts +15 -0
  138. package/tsconfig.json +39 -0
  139. package/tslint.json +80 -0
  140. package/bundles/seniorsistemas-exclusion-process-component.umd.js +0 -1205
  141. package/bundles/seniorsistemas-exclusion-process-component.umd.js.map +0 -1
  142. package/bundles/seniorsistemas-exclusion-process-component.umd.min.js +0 -16
  143. package/bundles/seniorsistemas-exclusion-process-component.umd.min.js.map +0 -1
  144. package/esm2015/enums/enum-exclusion-process-status.js +0 -8
  145. package/esm2015/exclusion-details/exclusion-details.component.js +0 -216
  146. package/esm2015/exclusion-details/exclusion-details.module.js +0 -28
  147. package/esm2015/exclusion-details/index.js +0 -3
  148. package/esm2015/exclusion-details/protocols/exclusion-details.js +0 -1
  149. package/esm2015/exclusion-details/protocols/index.js +0 -2
  150. package/esm2015/exclusion-details/protocols/show-details-information.js +0 -3
  151. package/esm2015/exclusions-list/exclusions-list.component.js +0 -299
  152. package/esm2015/exclusions-list/exclusions-list.module.js +0 -47
  153. package/esm2015/exclusions-list/exclusions-list.routing.js +0 -115
  154. package/esm2015/exclusions-list/index.js +0 -4
  155. package/esm2015/logical-delete.module.js +0 -27
  156. package/esm2015/models/exclusion-process-step-group.js +0 -1
  157. package/esm2015/models/exclusion-process-step.js +0 -1
  158. package/esm2015/models/exclusion-process.js +0 -1
  159. package/esm2015/models/index.js +0 -1
  160. package/esm2015/models/list-params.js +0 -1
  161. package/esm2015/models/list-result.js +0 -1
  162. package/esm2015/models/project-config.js +0 -3
  163. package/esm2015/public-api.js +0 -4
  164. package/esm2015/seniorsistemas-exclusion-process-component.js +0 -11
  165. package/esm2015/services/filter.service.js +0 -104
  166. package/esm2015/services/index.js +0 -2
  167. package/esm2015/services/logical-delete-config.service.js +0 -29
  168. package/esm2015/services/logical-delete.service.js +0 -109
  169. package/esm5/enums/enum-exclusion-process-status.js +0 -8
  170. package/esm5/exclusion-details/exclusion-details.component.js +0 -235
  171. package/esm5/exclusion-details/exclusion-details.module.js +0 -31
  172. package/esm5/exclusion-details/index.js +0 -3
  173. package/esm5/exclusion-details/protocols/exclusion-details.js +0 -1
  174. package/esm5/exclusion-details/protocols/index.js +0 -2
  175. package/esm5/exclusion-details/protocols/show-details-information.js +0 -7
  176. package/esm5/exclusions-list/exclusions-list.component.js +0 -313
  177. package/esm5/exclusions-list/exclusions-list.module.js +0 -50
  178. package/esm5/exclusions-list/exclusions-list.routing.js +0 -127
  179. package/esm5/exclusions-list/index.js +0 -4
  180. package/esm5/logical-delete.module.js +0 -31
  181. package/esm5/models/exclusion-process-step-group.js +0 -1
  182. package/esm5/models/exclusion-process-step.js +0 -1
  183. package/esm5/models/exclusion-process.js +0 -1
  184. package/esm5/models/index.js +0 -1
  185. package/esm5/models/list-params.js +0 -1
  186. package/esm5/models/list-result.js +0 -1
  187. package/esm5/models/project-config.js +0 -3
  188. package/esm5/public-api.js +0 -4
  189. package/esm5/seniorsistemas-exclusion-process-component.js +0 -11
  190. package/esm5/services/filter.service.js +0 -109
  191. package/esm5/services/index.js +0 -2
  192. package/esm5/services/logical-delete-config.service.js +0 -30
  193. package/esm5/services/logical-delete.service.js +0 -112
  194. package/exclusion-details/exclusion-details.component.d.ts +0 -49
  195. package/exclusion-details/exclusion-details.module.d.ts +0 -2
  196. package/exclusions-list/exclusions-list.component.d.ts +0 -59
  197. package/exclusions-list/exclusions-list.module.d.ts +0 -2
  198. package/exclusions-list/exclusions-list.routing.d.ts +0 -29
  199. package/fesm2015/seniorsistemas-exclusion-process-component.js +0 -917
  200. package/fesm2015/seniorsistemas-exclusion-process-component.js.map +0 -1
  201. package/fesm5/seniorsistemas-exclusion-process-component.js +0 -981
  202. package/fesm5/seniorsistemas-exclusion-process-component.js.map +0 -1
  203. package/logical-delete.module.d.ts +0 -5
  204. package/seniorsistemas-exclusion-process-component.d.ts +0 -10
  205. package/seniorsistemas-exclusion-process-component.metadata.json +0 -1
  206. package/services/filter.service.d.ts +0 -19
  207. package/services/logical-delete-config.service.d.ts +0 -8
  208. package/services/logical-delete.service.d.ts +0 -20
  209. /package/{exclusion-details/index.d.ts → lib/src/exclusion-details/index.ts} +0 -0
  210. /package/{exclusion-details/protocols/index.d.ts → lib/src/exclusion-details/protocols/index.ts} +0 -0
  211. /package/{models/index.d.ts → lib/src/models/index.ts} +0 -0
  212. /package/{models/list-result.d.ts → lib/src/models/list-result.ts} +0 -0
  213. /package/{services/index.d.ts → lib/src/services/index.ts} +0 -0
@@ -0,0 +1,71 @@
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2
+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.194.3/containers/python-3
3
+ {
4
+ "name": "Senior CI",
5
+ "build": {
6
+ "dockerfile": "Dockerfile",
7
+ "context": "..",
8
+ "args": {
9
+ // Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
10
+ "VARIANT": "3.9",
11
+ // Options
12
+ "NODE_VERSION": "none"
13
+ }
14
+ },
15
+
16
+ // Configure tool-specific properties.
17
+ "customizations": {
18
+ // Configure properties specific to VS Code.
19
+ "vscode": {
20
+ // Set *default* container specific settings.json values on container create.
21
+ "settings": {
22
+ "python.defaultInterpreterPath": "/usr/local/bin/python",
23
+ "python.linting.enabled": true,
24
+ "python.linting.pylintEnabled": true,
25
+ "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
26
+ "python.formatting.blackPath": "/usr/local/py-utils/bin/black",
27
+ "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
28
+ "python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
29
+ "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
30
+ "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
31
+ "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
32
+ "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
33
+ "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
34
+
35
+ //Extensions Setting
36
+ "cSpell.enabled": true,
37
+ "cSpell.language": "en,en-US,pt,pt_BR",
38
+ "python.languageServer": "Pylance",
39
+ "python.formatting.provider": "black",
40
+ "sonarlint.ls.javaHome": "/usr/lib/jvm/java-11-openjdk-amd64",
41
+ "sonarlint.connectedMode.project": {
42
+ "projectKey": "engenharia-senior-ci"
43
+ }
44
+ },
45
+
46
+ // Add the IDs of extensions you want installed when the container is created.
47
+ "extensions": [
48
+ "eamodio.gitlens",
49
+ "SonarSource.sonarlint-vscode",
50
+ "streetsidesoftware.code-spell-checker",
51
+ "streetsidesoftware.code-spell-checker-portuguese-brazilian",
52
+ "ms-python.python",
53
+ "ms-python.vscode-pylance",
54
+ "mikestead.dotenv"
55
+ ]
56
+ }
57
+ },
58
+
59
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
60
+ // "forwardPorts": [],
61
+
62
+ // Use 'initializeCommand' to run commands before the container is initialize.
63
+ // It will run on host machine.
64
+ "initializeCommand": "git pull origin `git rev-parse --abbrev-ref HEAD` && git branch --merged | egrep -v '(^\\*|master|develop|main|dev)' | xargs git branch -d || true && git remote prune origin",
65
+
66
+ // Use 'postCreateCommand' to run commands after the container is created.
67
+ // "postCreateCommand": "pip3 install --user -r requirements.txt",
68
+
69
+ // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
70
+ "remoteUser": "vscode"
71
+ }
@@ -0,0 +1,14 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ insert_final_newline = true
6
+ indent_style = space
7
+ indent_size = 2
8
+ trim_trailing_whitespace = true
9
+
10
+ [*.sh]
11
+ end_of_line = lf
12
+
13
+ [*.{bat,pas}]
14
+ end_of_line = crlf
@@ -0,0 +1,5 @@
1
+ * text=auto
2
+ *.sh text eol=lf
3
+ *.bat text eol=crlf
4
+ *.pas text eol=crlf
5
+
@@ -0,0 +1,53 @@
1
+ stages:
2
+ - sonar
3
+ - release
4
+
5
+ workflow:
6
+ rules:
7
+ - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
8
+ when: never
9
+ - when: always
10
+
11
+ default:
12
+ tags:
13
+ - node10
14
+
15
+ scanner:
16
+ stage: sonar
17
+ script:
18
+ - bash senior-ci/ci/ci.sh -x
19
+ only:
20
+ - branches
21
+ - merge_requests
22
+
23
+ releasePatch:
24
+ stage: release
25
+ when: manual
26
+ script:
27
+ - bash senior-ci/ci/ci.sh -r patch
28
+ only:
29
+ - develop
30
+
31
+ releaseMinor:
32
+ stage: release
33
+ when: manual
34
+ script:
35
+ - bash senior-ci/ci/ci.sh -r minor
36
+ only:
37
+ - develop
38
+
39
+ releaseMajor:
40
+ stage: release
41
+ when: manual
42
+ script:
43
+ - bash senior-ci/ci/ci.sh -r major
44
+ only:
45
+ - develop
46
+
47
+ forceUpdateCIVariables:
48
+ stage: release
49
+ when: manual
50
+ script:
51
+ - bash senior-ci/ci/ci.sh -u
52
+ only:
53
+ - develop
@@ -0,0 +1,562 @@
1
+ [MASTER]
2
+
3
+ # A comma-separated list of package or module names from where C extensions may
4
+ # be loaded. Extensions are loading into the active Python interpreter and may
5
+ # run arbitrary code.
6
+ extension-pkg-allow-list=
7
+
8
+ # A comma-separated list of package or module names from where C extensions may
9
+ # be loaded. Extensions are loading into the active Python interpreter and may
10
+ # run arbitrary code. (This is an alternative name to extension-pkg-allow-list
11
+ # for backward compatibility.)
12
+ extension-pkg-whitelist=
13
+
14
+ # Return non-zero exit code if any of these messages/categories are detected,
15
+ # even if score is above --fail-under value. Syntax same as enable. Messages
16
+ # specified are enabled, while categories only check already-enabled messages.
17
+ fail-on=
18
+
19
+ # Specify a score threshold to be exceeded before program exits with error.
20
+ fail-under=8
21
+
22
+ # Files or directories to be skipped. They should be base names, not paths.
23
+ ignore=CVS
24
+
25
+ # Add files or directories matching the regex patterns to the ignore-list. The
26
+ # regex matches against paths.
27
+ ignore-paths=
28
+
29
+ # Files or directories matching the regex patterns are skipped. The regex
30
+ # matches against base names, not paths.
31
+ ignore-patterns=
32
+
33
+ # Python code to execute, usually for sys.path manipulation such as
34
+ # pygtk.require().
35
+ #init-hook=
36
+
37
+ # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
38
+ # number of processors available to use.
39
+ jobs=1
40
+
41
+ # Control the amount of potential inferred values when inferring a single
42
+ # object. This can help the performance when dealing with large functions or
43
+ # complex, nested conditions.
44
+ limit-inference-results=100
45
+
46
+ # List of plugins (as comma separated values of python module names) to load,
47
+ # usually to register additional checkers.
48
+ load-plugins=
49
+
50
+ # Pickle collected data for later comparisons.
51
+ persistent=yes
52
+
53
+ # Min Python version to use for version dependend checks. Will default to the
54
+ # version used to run pylint.
55
+ py-version=3.9
56
+
57
+ # When enabled, pylint would attempt to guess common misconfiguration and emit
58
+ # user-friendly hints instead of false-positive error messages.
59
+ suggestion-mode=yes
60
+
61
+ # Allow loading of arbitrary C extensions. Extensions are imported into the
62
+ # active Python interpreter and may run arbitrary code.
63
+ unsafe-load-any-extension=no
64
+
65
+
66
+ [MESSAGES CONTROL]
67
+
68
+ # Only show warnings with the listed confidence levels. Leave empty to show
69
+ # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED.
70
+ confidence=
71
+
72
+ # Disable the message, report, category or checker with the given id(s). You
73
+ # can either give multiple identifiers separated by comma (,) or put this
74
+ # option multiple times (only on the command line, not in the configuration
75
+ # file where it should appear only once). You can also use "--disable=all" to
76
+ # disable everything first and then reenable specific checks. For example, if
77
+ # you want to run only the similarities checker, you can use "--disable=all
78
+ # --enable=similarities". If you want to run only the classes checker, but have
79
+ # no Warning level messages displayed, use "--disable=all --enable=classes
80
+ # --disable=W".
81
+ disable=raw-checker-failed,
82
+ bad-inline-option,
83
+ locally-disabled,
84
+ file-ignored,
85
+ suppressed-message,
86
+ useless-suppression,
87
+ deprecated-pragma,
88
+ use-symbolic-message-instead,
89
+ missing-class-docstring,
90
+ missing-function-docstring
91
+
92
+ # Enable the message, report, category or checker with the given id(s). You can
93
+ # either give multiple identifier separated by comma (,) or put this option
94
+ # multiple time (only on the command line, not in the configuration file where
95
+ # it should appear only once). See also the "--disable" option for examples.
96
+ enable=c-extension-no-member
97
+
98
+
99
+ [REPORTS]
100
+
101
+ # Python expression which should return a score less than or equal to 10. You
102
+ # have access to the variables 'error', 'warning', 'refactor', and 'convention'
103
+ # which contain the number of messages in each category, as well as 'statement'
104
+ # which is the total number of statements analyzed. This score is used by the
105
+ # global evaluation report (RP0004).
106
+ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
107
+
108
+ # Template used to display messages. This is a python new-style format string
109
+ # used to format the message information. See doc for all details.
110
+ #msg-template=
111
+
112
+ # Set the output format. Available formats are text, parseable, colorized, json
113
+ # and msvs (visual studio). You can also give a reporter class, e.g.
114
+ # mypackage.mymodule.MyReporterClass.
115
+ output-format=text
116
+
117
+ # Tells whether to display a full report or only the messages.
118
+ reports=no
119
+
120
+ # Activate the evaluation score.
121
+ score=yes
122
+
123
+
124
+ [REFACTORING]
125
+
126
+ # Maximum number of nested blocks for function / method body
127
+ max-nested-blocks=5
128
+
129
+ # Complete name of functions that never returns. When checking for
130
+ # inconsistent-return-statements if a never returning function is called then
131
+ # it will be considered as an explicit return statement and no message will be
132
+ # printed.
133
+ never-returning-functions=sys.exit,argparse.parse_error
134
+
135
+
136
+ [BASIC]
137
+
138
+ # Naming style matching correct argument names.
139
+ argument-naming-style=snake_case
140
+
141
+ # Regular expression matching correct argument names. Overrides argument-
142
+ # naming-style.
143
+ #argument-rgx=
144
+
145
+ # Naming style matching correct attribute names.
146
+ attr-naming-style=snake_case
147
+
148
+ # Regular expression matching correct attribute names. Overrides attr-naming-
149
+ # style.
150
+ #attr-rgx=
151
+
152
+ # Bad variable names which should always be refused, separated by a comma.
153
+ bad-names=foo,
154
+ bar,
155
+ baz,
156
+ toto,
157
+ tutu,
158
+ tata
159
+
160
+ # Bad variable names regexes, separated by a comma. If names match any regex,
161
+ # they will always be refused
162
+ bad-names-rgxs=
163
+
164
+ # Naming style matching correct class attribute names.
165
+ class-attribute-naming-style=any
166
+
167
+ # Regular expression matching correct class attribute names. Overrides class-
168
+ # attribute-naming-style.
169
+ #class-attribute-rgx=
170
+
171
+ # Naming style matching correct class constant names.
172
+ class-const-naming-style=UPPER_CASE
173
+
174
+ # Regular expression matching correct class constant names. Overrides class-
175
+ # const-naming-style.
176
+ #class-const-rgx=
177
+
178
+ # Naming style matching correct class names.
179
+ class-naming-style=PascalCase
180
+
181
+ # Regular expression matching correct class names. Overrides class-naming-
182
+ # style.
183
+ #class-rgx=
184
+
185
+ # Naming style matching correct constant names.
186
+ const-naming-style=UPPER_CASE
187
+
188
+ # Regular expression matching correct constant names. Overrides const-naming-
189
+ # style.
190
+ #const-rgx=
191
+
192
+ # Minimum line length for functions/classes that require docstrings, shorter
193
+ # ones are exempt.
194
+ docstring-min-length=-1
195
+
196
+ # Naming style matching correct function names.
197
+ function-naming-style=snake_case
198
+
199
+ # Regular expression matching correct function names. Overrides function-
200
+ # naming-style.
201
+ #function-rgx=
202
+
203
+ # Good variable names which should always be accepted, separated by a comma.
204
+ good-names=i,
205
+ j,
206
+ k,
207
+ ex,
208
+ Run,
209
+ _
210
+
211
+ # Good variable names regexes, separated by a comma. If names match any regex,
212
+ # they will always be accepted
213
+ good-names-rgxs=
214
+
215
+ # Include a hint for the correct naming format with invalid-name.
216
+ include-naming-hint=no
217
+
218
+ # Naming style matching correct inline iteration names.
219
+ inlinevar-naming-style=any
220
+
221
+ # Regular expression matching correct inline iteration names. Overrides
222
+ # inlinevar-naming-style.
223
+ #inlinevar-rgx=
224
+
225
+ # Naming style matching correct method names.
226
+ method-naming-style=snake_case
227
+
228
+ # Regular expression matching correct method names. Overrides method-naming-
229
+ # style.
230
+ #method-rgx=
231
+
232
+ # Naming style matching correct module names.
233
+ module-naming-style=snake_case
234
+
235
+ # Regular expression matching correct module names. Overrides module-naming-
236
+ # style.
237
+ #module-rgx=
238
+
239
+ # Colon-delimited sets of names that determine each other's naming style when
240
+ # the name regexes allow several styles.
241
+ name-group=
242
+
243
+ # Regular expression which should only match function or class names that do
244
+ # not require a docstring.
245
+ no-docstring-rgx=^_
246
+
247
+ # List of decorators that produce properties, such as abc.abstractproperty. Add
248
+ # to this list to register other decorators that produce valid properties.
249
+ # These decorators are taken in consideration only for invalid-name.
250
+ property-classes=abc.abstractproperty
251
+
252
+ # Naming style matching correct variable names.
253
+ variable-naming-style=snake_case
254
+
255
+ # Regular expression matching correct variable names. Overrides variable-
256
+ # naming-style.
257
+ #variable-rgx=
258
+
259
+
260
+ [FORMAT]
261
+
262
+ # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
263
+ expected-line-ending-format=
264
+
265
+ # Regexp for a line that is allowed to be longer than the limit.
266
+ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
267
+
268
+ # Number of spaces of indent required inside a hanging or continued line.
269
+ indent-after-paren=4
270
+
271
+ # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
272
+ # tab).
273
+ indent-string=' '
274
+
275
+ # Maximum number of characters on a single line.
276
+ max-line-length=120
277
+
278
+ # Maximum number of lines in a module.
279
+ max-module-lines=1000
280
+
281
+ # Allow the body of a class to be on the same line as the declaration if body
282
+ # contains single statement.
283
+ single-line-class-stmt=no
284
+
285
+ # Allow the body of an if to be on the same line as the test if there is no
286
+ # else.
287
+ single-line-if-stmt=no
288
+
289
+
290
+ [LOGGING]
291
+
292
+ # The type of string formatting that logging methods do. `old` means using %
293
+ # formatting, `new` is for `{}` formatting.
294
+ logging-format-style=old
295
+
296
+ # Logging modules to check that the string format arguments are in logging
297
+ # function parameter format.
298
+ logging-modules=logging
299
+
300
+
301
+ [MISCELLANEOUS]
302
+
303
+ # List of note tags to take in consideration, separated by a comma.
304
+ notes=FIXME,
305
+ XXX,
306
+ TODO
307
+
308
+ # Regular expression of note tags to take in consideration.
309
+ #notes-rgx=
310
+
311
+
312
+ [SIMILARITIES]
313
+
314
+ # Comments are removed from the similarity computation
315
+ ignore-comments=yes
316
+
317
+ # Docstrings are removed from the similarity computation
318
+ ignore-docstrings=yes
319
+
320
+ # Imports are removed from the similarity computation
321
+ ignore-imports=no
322
+
323
+ # Signatures are removed from the similarity computation
324
+ ignore-signatures=no
325
+
326
+ # Minimum lines number of a similarity.
327
+ min-similarity-lines=4
328
+
329
+
330
+ [SPELLING]
331
+
332
+ # Limits count of emitted suggestions for spelling mistakes.
333
+ max-spelling-suggestions=4
334
+
335
+ # Spelling dictionary name. Available dictionaries: none. To make it work,
336
+ # install the 'python-enchant' package.
337
+ spelling-dict=
338
+
339
+ # List of comma separated words that should be considered directives if they
340
+ # appear and the beginning of a comment and should not be checked.
341
+ spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
342
+
343
+ # List of comma separated words that should not be checked.
344
+ spelling-ignore-words=
345
+
346
+ # A path to a file that contains the private dictionary; one word per line.
347
+ spelling-private-dict-file=
348
+
349
+ # Tells whether to store unknown words to the private dictionary (see the
350
+ # --spelling-private-dict-file option) instead of raising a message.
351
+ spelling-store-unknown-words=no
352
+
353
+
354
+ [STRING]
355
+
356
+ # This flag controls whether inconsistent-quotes generates a warning when the
357
+ # character used as a quote delimiter is used inconsistently within a module.
358
+ check-quote-consistency=no
359
+
360
+ # This flag controls whether the implicit-str-concat should generate a warning
361
+ # on implicit string concatenation in sequences defined over several lines.
362
+ check-str-concat-over-line-jumps=no
363
+
364
+
365
+ [TYPECHECK]
366
+
367
+ # List of decorators that produce context managers, such as
368
+ # contextlib.contextmanager. Add to this list to register other decorators that
369
+ # produce valid context managers.
370
+ contextmanager-decorators=contextlib.contextmanager
371
+
372
+ # List of members which are set dynamically and missed by pylint inference
373
+ # system, and so shouldn't trigger E1101 when accessed. Python regular
374
+ # expressions are accepted.
375
+ generated-members=
376
+
377
+ # Tells whether missing members accessed in mixin class should be ignored. A
378
+ # mixin class is detected if its name ends with "mixin" (case insensitive).
379
+ ignore-mixin-members=yes
380
+
381
+ # Tells whether to warn about missing members when the owner of the attribute
382
+ # is inferred to be None.
383
+ ignore-none=yes
384
+
385
+ # This flag controls whether pylint should warn about no-member and similar
386
+ # checks whenever an opaque object is returned when inferring. The inference
387
+ # can return multiple potential results while evaluating a Python object, but
388
+ # some branches might not be evaluated, which results in partial inference. In
389
+ # that case, it might be useful to still emit no-member and other checks for
390
+ # the rest of the inferred objects.
391
+ ignore-on-opaque-inference=yes
392
+
393
+ # List of class names for which member attributes should not be checked (useful
394
+ # for classes with dynamically set attributes). This supports the use of
395
+ # qualified names.
396
+ ignored-classes=optparse.Values,thread._local,_thread._local
397
+
398
+ # List of module names for which member attributes should not be checked
399
+ # (useful for modules/projects where namespaces are manipulated during runtime
400
+ # and thus existing member attributes cannot be deduced by static analysis). It
401
+ # supports qualified module names, as well as Unix pattern matching.
402
+ ignored-modules=
403
+
404
+ # Show a hint with possible names when a member name was not found. The aspect
405
+ # of finding the hint is based on edit distance.
406
+ missing-member-hint=yes
407
+
408
+ # The minimum edit distance a name should have in order to be considered a
409
+ # similar match for a missing member name.
410
+ missing-member-hint-distance=1
411
+
412
+ # The total number of similar names that should be taken in consideration when
413
+ # showing a hint for a missing member.
414
+ missing-member-max-choices=1
415
+
416
+ # List of decorators that change the signature of a decorated function.
417
+ signature-mutators=
418
+
419
+
420
+ [VARIABLES]
421
+
422
+ # List of additional names supposed to be defined in builtins. Remember that
423
+ # you should avoid defining new builtins when possible.
424
+ additional-builtins=
425
+
426
+ # Tells whether unused global variables should be treated as a violation.
427
+ allow-global-unused-variables=yes
428
+
429
+ # List of names allowed to shadow builtins
430
+ allowed-redefined-builtins=
431
+
432
+ # List of strings which can identify a callback function by name. A callback
433
+ # name must start or end with one of those strings.
434
+ callbacks=cb_,
435
+ _cb
436
+
437
+ # A regular expression matching the name of dummy variables (i.e. expected to
438
+ # not be used).
439
+ dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
440
+
441
+ # Argument names that match this expression will be ignored. Default to name
442
+ # with leading underscore.
443
+ ignored-argument-names=_.*|^ignored_|^unused_
444
+
445
+ # Tells whether we should check for unused import in __init__ files.
446
+ init-import=no
447
+
448
+ # List of qualified module names which can have objects that can redefine
449
+ # builtins.
450
+ redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
451
+
452
+
453
+ [CLASSES]
454
+
455
+ # Warn about protected attribute access inside special methods
456
+ check-protected-access-in-special-methods=no
457
+
458
+ # List of method names used to declare (i.e. assign) instance attributes.
459
+ defining-attr-methods=__init__,
460
+ __new__,
461
+ setUp,
462
+ __post_init__
463
+
464
+ # List of member names, which should be excluded from the protected access
465
+ # warning.
466
+ exclude-protected=_asdict,
467
+ _fields,
468
+ _replace,
469
+ _source,
470
+ _make
471
+
472
+ # List of valid names for the first argument in a class method.
473
+ valid-classmethod-first-arg=cls
474
+
475
+ # List of valid names for the first argument in a metaclass class method.
476
+ valid-metaclass-classmethod-first-arg=cls
477
+
478
+
479
+ [DESIGN]
480
+
481
+ # List of qualified class names to ignore when counting class parents (see
482
+ # R0901)
483
+ ignored-parents=
484
+
485
+ # Maximum number of arguments for function / method.
486
+ max-args=5
487
+
488
+ # Maximum number of attributes for a class (see R0902).
489
+ max-attributes=7
490
+
491
+ # Maximum number of boolean expressions in an if statement (see R0916).
492
+ max-bool-expr=5
493
+
494
+ # Maximum number of branch for function / method body.
495
+ max-branches=12
496
+
497
+ # Maximum number of locals for function / method body.
498
+ max-locals=15
499
+
500
+ # Maximum number of parents for a class (see R0901).
501
+ max-parents=7
502
+
503
+ # Maximum number of public methods for a class (see R0904).
504
+ max-public-methods=20
505
+
506
+ # Maximum number of return / yield for function / method body.
507
+ max-returns=6
508
+
509
+ # Maximum number of statements in function / method body.
510
+ max-statements=50
511
+
512
+ # Minimum number of public methods for a class (see R0903).
513
+ min-public-methods=2
514
+
515
+
516
+ [IMPORTS]
517
+
518
+ # List of modules that can be imported at any level, not just the top level
519
+ # one.
520
+ allow-any-import-level=
521
+
522
+ # Allow wildcard imports from modules that define __all__.
523
+ allow-wildcard-with-all=no
524
+
525
+ # Analyse import fallback blocks. This can be used to support both Python 2 and
526
+ # 3 compatible code, which means that the block might have code that exists
527
+ # only in one or another interpreter, leading to false positives when analysed.
528
+ analyse-fallback-blocks=no
529
+
530
+ # Deprecated modules which should not be used, separated by a comma.
531
+ deprecated-modules=
532
+
533
+ # Output a graph (.gv or any supported image format) of external dependencies
534
+ # to the given file (report RP0402 must not be disabled).
535
+ ext-import-graph=
536
+
537
+ # Output a graph (.gv or any supported image format) of all (i.e. internal and
538
+ # external) dependencies to the given file (report RP0402 must not be
539
+ # disabled).
540
+ import-graph=
541
+
542
+ # Output a graph (.gv or any supported image format) of internal dependencies
543
+ # to the given file (report RP0402 must not be disabled).
544
+ int-import-graph=
545
+
546
+ # Force import order to recognize a module as part of the standard
547
+ # compatibility libraries.
548
+ known-standard-library=
549
+
550
+ # Force import order to recognize a module as part of a third party library.
551
+ known-third-party=enchant
552
+
553
+ # Couples of modules and preferred modules, separated by a comma.
554
+ preferred-modules=
555
+
556
+
557
+ [EXCEPTIONS]
558
+
559
+ # Exceptions that will emit a warning when being caught. Defaults to
560
+ # "BaseException, Exception".
561
+ overgeneral-exceptions=BaseException,
562
+ Exception