Skip to content

Commit

Permalink
Add pylint-pytest plugin to .pylintrc and requirements-test.txt
Browse files Browse the repository at this point in the history
The commit adds the pylint-pytest plugin to the .pylintrc file, enabling additional checkers for pytest. It also includes the pylint-pytest package in the requirements-test.txt file, ensuring it is installed when running tests.
  • Loading branch information
drew2a committed Jan 17, 2024
1 parent 4fbf40f commit f3ef2aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ persistent = yes
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
#load-plugins=pylint_common,pylint.extensions.check_elif,pylint.extensions.check_docs
load-plugins=pylint_pytest

# To install required plugins:
# sudo apt install python-pylint-common python-enchant python-pylint-plugin-utils
Expand Down
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pytest-aiohttp==1.0.5
pytest-asyncio==0.21.1
pytest-randomly==3.15.0
pytest-timeout==2.2.0
pylint-pytest==1.1.7

coverage==7.3.2
looptime==0.2 ; sys_platform != 'win32'
Expand Down

0 comments on commit f3ef2aa

Please sign in to comment.