Skip to content

Commit b9c2cb4

Browse files
committed
Added pylint settings.
1 parent db7df7f commit b9c2cb4

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

.github/workflows/Pipeline.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ jobs:
1111
Pipeline:
1212
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
1313
with:
14-
package_name: pySystemRDLModel
15-
codecov: true
16-
codacy: true
17-
dorny: true
14+
package_name: 'pySystemRDLModel'
15+
bandit: 'true'
16+
pylint: 'false'
17+
codecov: 'true'
18+
codacy: 'true'
19+
dorny: 'true'
1820
secrets:
1921
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
2022
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

pyproject.toml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,23 @@ requires = [
66
]
77
build-backend = "setuptools.build_meta"
88

9-
[tool.black]
10-
line-length = 120
9+
[tool.pylint.format]
10+
indent-string="\t"
11+
max-line-length = 120
12+
ignore-long-lines = "^.{0,110}#: .*"
13+
14+
[tool.pylint.basic]
15+
argument-naming-style = "camelCase"
16+
attr-naming-style = "camelCase"
17+
class-attribute-naming-style = "camelCase"
18+
class-const-naming-style = "UPPER_CASE"
19+
class-naming-style = "PascalCase"
20+
const-naming-style = "UPPER_CASE"
21+
function-naming-style = "camelCase"
22+
inlinevar-naming-style = "camelCase"
23+
method-naming-style = "PascalCase"
24+
module-naming-style = "any"
25+
variable-naming-style = "camelCase"
1126

1227
[tool.mypy]
1328
packages = ["pySystemRDLModel"]

0 commit comments

Comments
 (0)