-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: fix pre-commit warnings/errors (#3246)
- Loading branch information
Showing
5 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,7 +114,10 @@ jobs: | |
- name: Run Pylint on other files using pytest | ||
run: | | ||
pip install pytest pytest-pylint==0.19 | ||
Check warning on line 116 in .github/workflows/python-code-quality.yml GitHub Actions / Python Code Quality (ubuntu-22.04, 3.10, 3.7, 23.1.0, 3.9.2, 2.12.2)
|
||
echo "::warning file=.github/workflows/python-code-quality.yml,line=116,col=42,endColumn=48::Temporarily downgraded pytest-pylint to allow merging other PRs. The errors reported with a newer version seem legitimite and should be fixed (2023-10-18, see https://github.com/OSGeo/grass/pull/3205)" | ||
echo "::warning file=.github/workflows/python-code-quality.yml,line=116,col=42,endColumn=48::\ | ||
Temporarily downgraded pytest-pylint to allow merging other PRs. The errors reported\ | ||
with a newer version seem legitimite and should be fixed (2023-10-18,\ | ||
see https://github.com/OSGeo/grass/pull/3205)" | ||
export PYTHONPATH=`grass --config python_path`:$PYTHONPATH | ||
export LD_LIBRARY_PATH=$HOME/install/grass84/lib:$LD_LIBRARY_PATH | ||
pytest --pylint -m pylint --pylint-rcfile=.pylintrc --pylint-jobs=$(nproc) \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,3 @@ source_file = ../templates/grasswxpy.pot | |
source_lang = en | ||
file_filter = ../po/grasswxpy_<lang>.po | ||
type = PO | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters