mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 07:18:27 +01:00
astroid==2.5.7 has improved inference and was throwing errors that were false negatives before. Fixing these and ignoring some. Also added `funcy.decorator` to the `signature-mutators`, as it changes function signature (i.e. provides `Call` as a first argument which is not required to pass). Example errors that we were getting because of this: ``` tests/remotes/gdrive.py:40:11: E1120: No value for argument 'tries' in function call (no-value-for-parameter) ************* Module dvc.stage.serialize dvc/stage/serialize.py:38:1: E1120: No value for argument 'func' in function call (no-value-for-parameter) ************* Module dvc.fs.http dvc/fs/http.py:19:1: E1120: No value for argument 'ctx' in function call (no-value-for-parameter) ************* Module dvc.fs.gdrive dvc/fs/gdrive.py:66:11: E1120: No value for argument 'tries' in function call (no-value-for-parameter) dvc/fs/gdrive.py:459:5: E1120: No value for argument 'ctx' in function call (no-value-for-parameter) ```