Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Jun 28, 2024
1 parent d8e405a commit 9325d53
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/legacy_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Run pylint
shell: bash
run: |
poetry run pylint src/hume/legacy
poetry run pylint src/hume/legacy --rcfile pylintrc
- name: Run mypy
shell: bash
Expand Down
23 changes: 17 additions & 6 deletions pylintrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
[BASIC]

# Good variable names which should always be accepted, separated by a comma
good-names=id,f
max-args = 12
max-attributes = 9
max-locals = 25
notes = FIXME

max-line-length = 120
[DESIGN]

disable = logging-fstring-interpolation,unspecified-encoding,missing-docstring,wrong-import-order,duplicate-code,too-few-public-methods
# Maximum number of arguments for function / method
max-args=12

# Maximum number of locals for function / method body
max-locals=25

[FORMAT]

# Maximum number of characters on a single line.
max-line-length=120

[MESSAGES CONTROL]

disable=missing-docstring,unspecified-encoding,duplicate-code,logging-fstring-interpolation,too-few-public-methods
1 change: 0 additions & 1 deletion src/hume/legacy/_voice/models/configs_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,5 @@ class VoiceConfig(BaseModel):
description: str | None
created_on: int
modified_on: int
# TODO: Add tool info
prompt: str | None
voice: VoiceIdentityConfig | None

0 comments on commit 9325d53

Please sign in to comment.