Skip to content

Commit

Permalink
[text_service]Prevent pylint to check signatures
Browse files Browse the repository at this point in the history
When having a base class and a derived class, pylint can complain
because some methods have the same signatures. In particular, this
happens if the function signature spans more than 4 rows, triggering
the similarity checker. This is the case for the function
lemmas_frequency.
I disable this pylint feature.

For more info: pylint-dev/pylint#3619
  • Loading branch information
lucagalbu committed Dec 21, 2021
1 parent 07a6e65 commit 8daa7f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/text_service/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ black = "^21.12b0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.pylint."SIMILARITIES"]
ignore-signatures="yes"

0 comments on commit 8daa7f7

Please sign in to comment.