Skip to content

Commit

Permalink
pylintrc updates for -next-next pylint (#2702)
Browse files Browse the repository at this point in the history
  • Loading branch information
l0lawrence committed Jul 17, 2024
1 parent 30214b3 commit 410e989
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .chronus/changes/pylintUpdates-2024-6-17-12-39-48.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@autorest/python"
---

Updating pylintrc rules
6 changes: 5 additions & 1 deletion packages/autorest.python/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ reports=no
ignore=_generated,samples,examples,test,tests,doc,.tox,generated_samples

[MESSAGES CONTROL]

# Add enable for useless disables
enable=useless-suppression

# For all codes, run 'pylint --list-msgs' or go to 'https://pylint.readthedocs.io/en/latest/reference_guide/features.html'
# locally-disabled: Warning locally suppressed using disable-msg
# cyclic-import: because of https://github.com/PyCQA/pylint/issues/850
# too-many-arguments: Due to the nature of the CLI many commands have large arguments set which reflect in large arguments set in corresponding methods.
# Let's black deal with bad-continuation
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,consider-using-f-string,super-with-arguments,redefined-builtin,import-outside-toplevel,client-suffix-needed,unnecessary-dunder-call,unnecessary-ellipsis,disallowed-name
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,consider-using-f-string,super-with-arguments,redefined-builtin,import-outside-toplevel,client-suffix-needed,unnecessary-dunder-call,unnecessary-ellipsis,disallowed-name,consider-using-max-builtin

[FORMAT]
max-line-length=120
Expand Down

0 comments on commit 410e989

Please sign in to comment.