X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3238682a8867edfb3c052ca4d2d27b3926ad17a..b8d41cf38cb9abead17f53fc42c28b65e0ae62b7:/CONTRIBUTING.md?ds=inline diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2d2877bf..6798c39d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,22 +49,18 @@ are in process of consolidating the style. The following rules apply: * for PHP variables use CamelCase with a prefixing letter indicating the type (i - integer, f - float, a - array, s - string, o - object) -The coding style is enforced with PHPCS and can be tested with: +The coding style is enforced with PHPCS and pylint. It can be tested with: ``` - phpcs --report-width=120 --colors . +phpcs --report-width=120 --colors . +pylint3 --extension-pkg-whitelist=osmium nominatim ``` ## Testing -Before submitting a pull request make sure that the following tests pass: +Before submitting a pull request make sure that the tests pass: ``` - cd test/bdd - behave -DBUILDDIR= db osm2pgsql -``` - -``` - cd test/php - phpunit ./ + cd build + make test ```