-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Caroline Russell <[email protected]>
- Loading branch information
1 parent
7868478
commit 502ee8b
Showing
6 changed files
with
70 additions
and
73 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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[tool.flake8] | ||
[flake8] | ||
ignore = E203, E266, E501, W503, W605 | ||
max-line-length = 80 | ||
exclude = blint/cyclonedx/spec.py | ||
max-line-length = 99 | ||
max-complexity = 18 | ||
select = "B,C,E,F,W,T4,B9" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ | |
name = "blint" | ||
version = "2.0.0" | ||
description = "Linter and SBOM generator for binary files." | ||
authors = ["Prabhu Subramanian <[email protected]>"] | ||
maintainers= ["Prabhu Subramanian <[email protected]>", "Caroline Russell <[email protected]>"] | ||
authors = ["Prabhu Subramanian <[email protected]>", "Caroline Russell <[email protected]>"] | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
homepage = "https://github.com/OWASP-dep-scan/blint" | ||
|
@@ -44,30 +43,26 @@ pytest-cov = "^4.0.0" | |
pyinstaller = "^6.3.0" | ||
|
||
[tool.black] | ||
line-length = 80 | ||
line-length = 99 | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.pytest.ini_options] | ||
#addopts = "--verbose --cov-append --cov-report term --cov blint" | ||
addopts = "--verbose --cov-append --cov-report term --cov blint" | ||
|
||
[tool.pylint] | ||
generated-members = ["lief"] | ||
ignore-paths = ["blint/cyclonedx/*", "blint/checks.py"] | ||
ignore-paths = ["blint/cyclonedx/*"] | ||
# Let's not fuss about long strings | ||
ignore-long-lines = "[r|f]\"" | ||
disable = ["missing-module-docstring", "logging-fstring-interpolation"] | ||
|
||
[tool.pylint.format] | ||
max-line-length = 80 | ||
max-line-length = 99 | ||
|
||
[tool.pylint.design] | ||
max-args = 6 | ||
max-nested-blocks = 6 | ||
|
||
[tool.pylint.logging] | ||
logging-format-style = "new" | ||
|
||
[tool.pylint.messages_control] | ||
disable = "W0718, C0103, C0209, C0302, W0613, E1205" |