Skip to content

Commit

Permalink
Dependencies upgrade
Browse files Browse the repository at this point in the history
Pylint upgrade + fix
  • Loading branch information
Nepitwin committed Jan 28, 2022
1 parent 716d641 commit 6a4be37
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
max-line-length=120

[MASTER]
load-plugins=pylint_json2html

disable=
C0114, # missing-module-docstring
R0903, # too-few-public-methods

[REPORTS]
output-format=jsonextended
output-format=json

[SIMILARITIES]
# Ignore comments when computing similarities.
Expand Down
4 changes: 2 additions & 2 deletions keen.bat
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ EXIT /B %result%

:pylint
mkdir result
pylint src/ > result/pylint.json
pylint-json2html -f jsonextended -o result/pylint.html < result/pylint.json
pylint src > result/pylint.json
pylint-json2html result/pylint.json > result/pylint.html
pylint --output-format=pylint_junit.JUnitReporter src/ > result/pylint.xml
EXIT /B %ERRORLEVEL%

Expand Down
8 changes: 4 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
wheel==0.37.0
pylint==2.10.2
pylint-json2html==0.3.0
wheel==0.37.1
pylint==2.12.2
pylint-json2html==0.4.0
pylint-junit==0.3.2
pep8==1.7.1
robotframework-stringformat==0.1.8
twine==3.4.2
twine==3.7.1
-r requirements.txt
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
robotframework>=3.2.2
typing-extensions>=3.10.0.0
robotframework-pythonlibcore>=3.0.0
pythonnet>=2.5.2
typing-extensions>=3.10.0.0
pythonnet==2.5.2
2 changes: 1 addition & 1 deletion src/FlaUILibrary/flaui/util/treeitems.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ def collapse(self):
This function collapses every collapsable tree item in root level.
"""
for item in self.treeitems:
if item.ExpandCollapseState == 1 or item.ExpandCollapseState == 2:
if item.ExpandCollapseState in (1, 2):
item.Collapse()

0 comments on commit 6a4be37

Please sign in to comment.