Changeset View
Changeset View
Standalone View
Standalone View
.arclint
Show All 13 Lines | "linters": { | ||||
] | ] | ||||
}, | }, | ||||
"autopep8": { | "autopep8": { | ||||
"type": "autopep8", | "type": "autopep8", | ||||
"version": ">=1.3.4", | "version": ">=1.3.4", | ||||
"include": "(\\.py$)", | "include": "(\\.py$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
"(^contrib/apple-sdk-tools/)", | "(^contrib/apple-sdk-tools/)" | ||||
"(^contrib/buildbot/python_phabricator/)" | |||||
], | ], | ||||
"flags": [ | "flags": [ | ||||
"--aggressive", | "--aggressive", | ||||
"--ignore=W503,W504" | "--ignore=W503,W504" | ||||
] | ] | ||||
}, | }, | ||||
"flake8": { | "flake8": { | ||||
"type": "flake8", | "type": "flake8", | ||||
"version": ">=3.0", | "version": ">=3.0", | ||||
"include": "(\\.py$)", | "include": "(\\.py$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
"(^contrib/apple-sdk-tools/)", | "(^contrib/apple-sdk-tools/)" | ||||
"(^contrib/buildbot/python_phabricator/)" | |||||
], | ], | ||||
"flags": [ | "flags": [ | ||||
"--ignore=E501,E704,W503,W504" | "--ignore=E501,E704,W503,W504" | ||||
] | ] | ||||
}, | }, | ||||
"lint-format-strings": { | "lint-format-strings": { | ||||
"type": "lint-format-strings", | "type": "lint-format-strings", | ||||
"include": "(^src/.*\\.(h|c|cpp)$)", | "include": "(^src/.*\\.(h|c|cpp)$)", | ||||
Show All 12 Lines | "linters": { | ||||
"include": "(^src/(seeder/|rpc/|wallet/)?test/.*\\.(cpp)$)" | "include": "(^src/(seeder/|rpc/|wallet/)?test/.*\\.(cpp)$)" | ||||
}, | }, | ||||
"lint-python-format": { | "lint-python-format": { | ||||
"type": "lint-python-format", | "type": "lint-python-format", | ||||
"include": "(\\.py$)", | "include": "(\\.py$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^test/lint/lint-python-format\\.py$)", | "(^test/lint/lint-python-format\\.py$)", | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
"(^contrib/apple-sdk-tools/)", | "(^contrib/apple-sdk-tools/)" | ||||
"(^contrib/buildbot/python_phabricator/)" | |||||
] | ] | ||||
}, | }, | ||||
"phpcs": { | "phpcs": { | ||||
"type": "phpcs", | "type": "phpcs", | ||||
"include": "(\\.php$)", | "include": "(\\.php$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^arcanist/__phutil_library_.+\\.php$)" | "(^arcanist/__phutil_library_.+\\.php$)" | ||||
], | ], | ||||
▲ Show 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | "linters": { | ||||
"type": "check-rpc-mappings", | "type": "check-rpc-mappings", | ||||
"include": "(^src/(rpc/|wallet/rpc).*\\.cpp$)" | "include": "(^src/(rpc/|wallet/rpc).*\\.cpp$)" | ||||
}, | }, | ||||
"lint-python-encoding": { | "lint-python-encoding": { | ||||
"type": "lint-python-encoding", | "type": "lint-python-encoding", | ||||
"include": "(\\.py$)", | "include": "(\\.py$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
"(^contrib/apple-sdk-tools/)", | "(^contrib/apple-sdk-tools/)" | ||||
"(^contrib/buildbot/python_phabricator/)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-python-shebang": { | "lint-python-shebang": { | ||||
"type": "lint-python-shebang", | "type": "lint-python-shebang", | ||||
"include": "(\\.py$)", | "include": "(\\.py$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(__init__\\.py$)", | "(__init__\\.py$)", | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
"(^contrib/apple-sdk-tools/)", | "(^contrib/apple-sdk-tools/)" | ||||
"(^contrib/buildbot/python_phabricator/)" | |||||
] | ] | ||||
}, | }, | ||||
"lint-bash-shebang": { | "lint-bash-shebang": { | ||||
"type": "lint-bash-shebang", | "type": "lint-bash-shebang", | ||||
"include": "(\\.sh$)", | "include": "(\\.sh$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^contrib/gitian-builder/)" | "(^contrib/gitian-builder/)" | ||||
] | ] | ||||
▲ Show 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | "linters": { | ||||
"include": "(^src/.*\\.(h|c|cpp)$)", | "include": "(^src/.*\\.(h|c|cpp)$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | "(^src/(crypto/ctaes|secp256k1|univalue|leveldb)/)", | ||||
"(^src/bench/nanobench.h$)" | "(^src/bench/nanobench.h$)" | ||||
] | ] | ||||
}, | }, | ||||
"yamllint": { | "yamllint": { | ||||
"type": "yamllint", | "type": "yamllint", | ||||
"include": "(\\.(yml|yaml)$)", | "include": "(\\.(yml|yaml)$)" | ||||
"exclude": [ | |||||
"(^contrib/buildbot/python_phabricator/)" | |||||
] | |||||
}, | }, | ||||
"lint-check-nonfatal": { | "lint-check-nonfatal": { | ||||
"type": "lint-check-nonfatal", | "type": "lint-check-nonfatal", | ||||
"include": [ | "include": [ | ||||
"(^src/rpc/.*\\.(h|c|cpp)$)", | "(^src/rpc/.*\\.(h|c|cpp)$)", | ||||
"(^src/wallet/rpc*.*\\.(h|c|cpp)$)" | "(^src/wallet/rpc*.*\\.(h|c|cpp)$)" | ||||
], | ], | ||||
"exclude": "(^src/rpc/server.cpp)" | "exclude": "(^src/rpc/server.cpp)" | ||||
Show All 13 Lines | "linters": { | ||||
"--ignore-missing-imports" | "--ignore-missing-imports" | ||||
] | ] | ||||
}, | }, | ||||
"lint-python-mutable-default": { | "lint-python-mutable-default": { | ||||
"type": "lint-python-mutable-default", | "type": "lint-python-mutable-default", | ||||
"include": "(\\.py$)", | "include": "(\\.py$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^contrib/gitian-builder/)", | "(^contrib/gitian-builder/)", | ||||
"(^contrib/apple-sdk-tools/)", | "(^contrib/apple-sdk-tools/)" | ||||
"(^contrib/buildbot/python_phabricator/)" | |||||
] | ] | ||||
}, | }, | ||||
"prettier": { | "prettier": { | ||||
"type": "prettier", | "type": "prettier", | ||||
"include": "(^web/.*\\.(css|html|js|json|jsx|md|scss|ts|tsx)$)", | "include": "(^web/.*\\.(css|html|js|json|jsx|md|scss|ts|tsx)$)", | ||||
"exclude": "(^web/.*/translations/.*\\.json$)" | "exclude": "(^web/.*/translations/.*\\.json$)" | ||||
} | } | ||||
} | } | ||||
} | } |