]> git.openstreetmap.org Git - nominatim.git/commitdiff
CI: always use the latest version of pylint
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 31 May 2022 07:12:26 +0000 (09:12 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 31 May 2022 07:12:26 +0000 (09:12 +0200)
This makes it easier to reproduce issues locally.

.github/workflows/ci-tests.yml
docs/develop/Development-Environment.md

index a08a995f9c5459c9a3bee7bc214db019887b7eb0..4ce14f9365eb96ef04b184e00eb93962c4674fc9 100644 (file)
@@ -81,13 +81,16 @@ jobs:
                   ubuntu: ${{ matrix.ubuntu }}
 
             - name: Install test prerequsites
-              run: sudo apt-get install -y -qq pylint python3-pytest python3-behave
+              run: sudo apt-get install -y -qq python3-pytest python3-behave
               if: matrix.ubuntu == 20
 
             - name: Install test prerequsites
-              run: pip3 install pylint==2.6.0 pytest behave==1.2.6
+              run: pip3 install pytest behave==1.2.6
               if: matrix.ubuntu == 18
 
+            - name: Install latest pylint
+              run: pip3 install pylint
+
             - name: PHP linting
               run: phpcs --report-width=120 .
               working-directory: Nominatim
index eba87c09e68138e20b08fdacb3f9139a8efd1345..3cda610edeccaeb355bbd5420fc2f76f0bc9bc7e 100644 (file)
@@ -32,7 +32,7 @@ It has the following additional requirements:
 * [behave test framework](https://behave.readthedocs.io) >= 1.2.6
 * [phpunit](https://phpunit.de) (9.5 is known to work)
 * [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
-* [Pylint](https://pylint.org/) (2.6.0 is used for the CI)
+* [Pylint](https://pylint.org/) (CI always runs the latest version from pip)
 * [pytest](https://pytest.org)
 
 The documentation is built with mkdocs: