mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-09-11 19:17:17 +03:00
whitelist pyosmium for pylint
This commit is contained in:
parent
4cb6dc01f3
commit
01e0fd7e13
2
.github/workflows/ci-tests.yml
vendored
2
.github/workflows/ci-tests.yml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
run: phpcs --report-width=120 .
|
||||
|
||||
- name: Python linting
|
||||
run: pylint nominatim
|
||||
run: pylint --extension-pkg-whitelist=osmium nominatim
|
||||
|
||||
- name: PHP unit tests
|
||||
run: phpunit ./
|
||||
|
@ -191,7 +191,7 @@ if (BUILD_TESTS)
|
||||
if (PYLINT)
|
||||
message(STATUS "Using pylint binary ${PYLINT}")
|
||||
add_test(NAME pylint
|
||||
COMMAND ${PYLINT} nominatim
|
||||
COMMAND ${PYLINT} --extension-pkg-whitelist=osmium nominatim
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
|
||||
else()
|
||||
message(WARNING "pylint not found. Python linting tests disabled.")
|
||||
|
@ -53,7 +53,7 @@ The coding style is enforced with PHPCS and pylint. It can be tested with:
|
||||
|
||||
```
|
||||
phpcs --report-width=120 --colors .
|
||||
pylint3 nominatim
|
||||
pylint3 --extension-pkg-whitelist=osmium nominatim
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
Loading…
Reference in New Issue
Block a user