Skip to content

Commit

Permalink
Remove remainders of pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Mar 13, 2024
1 parent 9ff6da5 commit 244ff3c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
23 changes: 0 additions & 23 deletions .pylintrc

This file was deleted.

2 changes: 1 addition & 1 deletion har2locust/default_plugins/default_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def default_headers(entries: list[dict], _args):
if default_headers is None:
default_headers = headers[:]
else:
for dh in default_headers[:]: # pylint: disable=unsubscriptable-object
for dh in default_headers[:]:
if dh["name"] == "accept-language":
# accept-language is likely to be common among most requests so we never remove it from default headers
# (instead it will be overridden in the specific requests where it differs)
Expand Down
2 changes: 1 addition & 1 deletion har2locust/default_plugins/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def rest(entries: list[dict]):


# The following is no longer needed, now that rest-method is a part of FastHttpUser, but can still serve as a good example:
# from ast import * # pylint: disable-all
# from ast import *
# from har2locust.plugin import astprocessor
#
# @astprocessor
Expand Down

0 comments on commit 244ff3c

Please sign in to comment.