mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-12 01:09:02 +00:00

* linter - check ConanFile import and cross_building * remove unused code * Add docs * improve docs * example - abseil * md syntax * revert uneeded changes * Update docs/v2_linter.md Co-authored-by: Daniel <danimanzaneque@gmail.com> Co-authored-by: Daniel <danimanzaneque@gmail.com>
27 lines
662 B
Plaintext
27 lines
662 B
Plaintext
[MASTER]
|
|
load-plugins=linter.conanv2_transition,
|
|
linter.transform_conanfile,
|
|
linter.transform_imports
|
|
py-version=3.6
|
|
recursive=no
|
|
suggestion-mode=yes
|
|
unsafe-load-any-extension=no
|
|
|
|
[MESSAGES CONTROL]
|
|
disable=fixme,
|
|
line-too-long,
|
|
missing-module-docstring,
|
|
missing-function-docstring,
|
|
missing-class-docstring,
|
|
invalid-name,
|
|
wrong-import-order, # TODO: Remove
|
|
import-outside-toplevel, # TODO: Remove
|
|
conan-bad-name,
|
|
conan-missing-name
|
|
|
|
[REPORTS]
|
|
evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error) / statement) * 10))
|
|
output-format=text
|
|
reports=no
|
|
score=no
|