the-dotify-project/dotify

flake8 raises errors

billsioros opened this issue · 0 comments

Expected Result

We should be passing linting with flying colors

Actual Result

flake8 raises multiple errors when run on the solution

Reproduction Steps

Simply run flake8 . on the command line.

Stack Trace

In case an unexpected error occurred, provide us with the program's Stack Trace.

Click to expand!
    
./dotify/decorators.py:1:1: D100 Missing docstring in public module
./dotify/decorators.py:5:1: WPS306 Found class without a base class: classproperty
./dotify/decorators.py:5:8: N801 class name 'classproperty' should use CapWords convention
./dotify/decorators.py:6:1: D400 First line should end with a period
./dotify/decorators.py:23:1: D400 First line should end with a period
./dotify/decorators.py:32:1: D105 Missing docstring in magic method
./dotify/decorators.py:32:23: WPS110 Found wrong variable name: obj
./dotify/decorators.py:36:8: N801 class name 'cached_classproperty' should use CapWords convention
./dotify/decorators.py:37:1: D205 1 blank line required between summary line and description
./dotify/decorators.py:56:1: D400 First line should end with a period
./dotify/decorators.py:65:1: D105 Missing docstring in magic method
./dotify/decorators.py:65:23: WPS110 Found wrong variable name: obj
./dotify/dotify.py:1:1: D100 Missing docstring in public module
./dotify/dotify.py:9:28: Q000 Remove bad quotes
./dotify/dotify.py:9:28: WPS305 Found `f` string
./dotify/dotify.py:13:1: D205 1 blank line required between summary line and description
./dotify/dotify.py:13:1: D400 First line should end with a period
./dotify/dotify.py:24:1: D400 First line should end with a period
./dotify/dotify.py:32:65: C812 missing trailing comma
./dotify/dotify.py:33:14: C812 missing trailing comma
./dotify/dotify.py:36:1: D105 Missing docstring in magic method
./dotify/dotify.py:36:5: WPS603 Found using restricted magic method: __del__
./dotify/dotify.py:37:12: WPS421 Found wrong function call: hasattr
./dotify/dotify.py:37:26: Q000 Remove bad quotes
./dotify/dotify.py:40:1: D105 Missing docstring in magic method
./dotify/dotify.py:40:28: Q000 Remove bad quotes
./dotify/dotify.py:45:1: D105 Missing docstring in magic method
./dotify/dotify.py:49:26: Q000 Remove bad quotes
./dotify/dotify.py:49:26: WPS323 Found `%` string formatting
./dotify/dotify.py:52:35: Q000 Remove bad quotes
./dotify/dotify.py:53:1: D400 First line should end with a period
./dotify/dotify.py:58:16: WPS421 Found wrong function call: hasattr
./dotify/dotify.py:58:38: Q000 Remove bad quotes
./dotify/dotify.py:64:5: WPS615 Found unpythonic getter or setter
./dotify/dotify.py:64:29: Q000 Remove bad quotes
./dotify/dotify.py:65:1: D400 First line should end with a period
./dotify/dotify.py:76:29: Q000 Remove bad quotes
./dotify/dotify.py:78:16: WPS221 Found line with high Jones Complexity: 15 > 14
./dotify/dotify.py:78:22: WPS125 Found builtin shadowing: type
./dotify/dotify.py:79:1: D400 First line should end with a period
./dotify/dotify.py:84:1: DAR103 Parameter type mismatch:  ~limit: expected int but was int, optional
./dotify/dotify.py:89:9: WPS110 Found wrong variable name: results
./dotify/dotify.py:91:24: Q000 Remove bad quotes
./dotify/dotify.py:91:24: WPS305 Found `f` string
./dotify/dotify.py:91:36: Q000 Remove bad quotes
./dotify/json_serializable.py:1:1: D100 Missing docstring in public module
./dotify/json_serializable.py:16:1: D205 1 blank line required between summary line and description
./dotify/json_serializable.py:16:1: D400 First line should end with a period
./dotify/json_serializable.py:21:1: D102 Missing docstring in public method
./dotify/json_serializable.py:22:12: Q000 Remove bad quotes
./dotify/json_serializable.py:22:39: WPS421 Found wrong function call: hasattr
./dotify/json_serializable.py:22:53: Q000 Remove bad quotes
./dotify/json_serializable.py:22:62: Q000 Remove bad quotes
./dotify/json_serializable.py:25:22: Q000 Remove bad quotes
./dotify/json_serializable.py:26:29: WPS110 Found wrong variable name: file
./dotify/json_serializable.py:32:70: C812 missing trailing comma
./dotify/json_serializable.py:40:1: WPS338 Found incorrect order of methods in a class
./dotify/json_serializable.py:41:1: D200 One-line docstring should fit on one line with quotes
./dotify/json_serializable.py:41:1: D400 First line should end with a period
./dotify/json_serializable.py:45:1: D106 Missing docstring in public nested class
./dotify/json_serializable.py:45:5: WPS306 Found class without a base class: Json
./dotify/json_serializable.py:45:5: WPS431 Found nested class: Json
./dotify/json_serializable.py:47:33: Q000 Remove bad quotes
./dotify/json_serializable.py:49:1: D105 Missing docstring in magic method
./dotify/json_serializable.py:49:38: WPS110 Found wrong variable name: val
./dotify/json_serializable.py:53:16: WPS421 Found wrong function call: hasattr
./dotify/json_serializable.py:53:30: Q000 Remove bad quotes
./dotify/json_serializable.py:59:34: WPS110 Found wrong variable name: obj
./dotify/json_serializable.py:59:56: Q000 Remove bad quotes
./dotify/json_serializable.py:60:1: D205 1 blank line required between summary line and description
./dotify/json_serializable.py:60:1: D400 First line should end with a period
./dotify/json_serializable.py:61:1: DAR101 Missing parameter(s) in Docstring: - obj
./dotify/json_serializable.py:68:16: WPS421 Found wrong function call: hasattr
./dotify/json_serializable.py:68:34: Q000 Remove bad quotes
./dotify/json_serializable.py:73:1: D105 Missing docstring in magic method
./dotify/json_serializable.py:74:9: WPS110 Found wrong variable name: obj
./dotify/json_serializable.py:77:20: WPS437 Found protected attribute usage: _value
./dotify/json_serializable.py:98:1: D105 Missing docstring in magic method
./dotify/json_serializable.py:102:20: WPS529 Found implicit `.get()` dict usage
./dotify/json_serializable.py:104:16: WPS609 Found direct magic attribute usage: __getattribute__
./dotify/model.py:0:1: WPS226 Found string constant over-use: Json > 3
./dotify/model.py:1:1: D100 Missing docstring in public module
./dotify/model.py:15:28: Q000 Remove bad quotes
./dotify/model.py:15:28: WPS305 Found `f` string
./dotify/model.py:18:1: WPS338 Found incorrect order of methods in a class
./dotify/model.py:19:1: D205 1 blank line required between summary line and description
./dotify/model.py:19:1: D400 First line should end with a period
./dotify/model.py:28:1: D205 1 blank line required between summary line and description
./dotify/model.py:28:1: D400 First line should end with a period
./dotify/model.py:37:16: Q000 Remove bad quotes
./dotify/model.py:37:16: WPS305 Found `f` string
./dotify/model.py:41:1: D205 1 blank line required between summary line and description
./dotify/model.py:41:1: D400 First line should end with a period
./dotify/model.py:52:15: Q000 Remove bad quotes
./dotify/model.py:53:15: Q000 Remove bad quotes
./dotify/model.py:57:1: D102 Missing docstring in public method
./dotify/model.py:58:12: Q000 Remove bad quotes
./dotify/model.py:59:13: WPS529 Found implicit `.get()` dict usage
./dotify/model.py:59:19: Q000 Remove bad quotes
./dotify/model.py:61:16: WPS421 Found wrong function call: hasattr
./dotify/model.py:61:24: WPS529 Found implicit `.get()` dict usage
./dotify/model.py:61:30: Q000 Remove bad quotes
./dotify/model.py:61:39: Q000 Remove bad quotes
./dotify/model.py:62:36: WPS529 Found implicit `.get()` dict usage
./dotify/model.py:62:42: Q000 Remove bad quotes
./dotify/model.py:65:17: WPS430 Found nested function: dependencies
./dotify/model.py:68:25: WPS220 Found too deep nesting: 24 > 20
./dotify/model.py:68:36: WPS125 Found builtin shadowing: type
./dotify/model.py:68:65: Q000 Remove bad quotes
./dotify/model.py:70:25: WPS220 Found too deep nesting: 24 > 20
./dotify/model.py:71:25: WPS220 Found too deep nesting: 24 > 20
./dotify/model.py:71:25: WPS125 Found builtin shadowing: type
./dotify/model.py:73:25: WPS220 Found too deep nesting: 24 > 20
./dotify/model.py:76:49: WPS441 Found control variable used after block: dependency
./dotify/model.py:76:71: WPS441 Found control variable used after block: dependency
./dotify/model.py:80:17: WPS529 Found implicit `.get()` dict usage
./dotify/model.py:80:23: Q000 Remove bad quotes
./dotify/model.py:86:1: D200 One-line docstring should fit on one line with quotes
./dotify/model.py:86:1: D400 First line should end with a period
./dotify/model.py:90:5: WPS431 Found nested class: UnexpectedError
./dotify/model.py:91:1: D400 First line should end with a period
./dotify/model.py:93:9: WPS420 Found wrong keyword: pass
./dotify/model.py:93:9: WPS604 Found incorrect node inside `class` body
./dotify/model.py:95:5: WPS431 Found nested class: InvalidURL
./dotify/model.py:96:1: D205 1 blank line required between summary line and description
./dotify/model.py:96:1: D400 First line should end with a period
./dotify/model.py:101:9: WPS420 Found wrong keyword: pass
./dotify/model.py:101:9: WPS604 Found incorrect node inside `class` body
./dotify/model.py:103:5: WPS431 Found nested class: NotFound
./dotify/model.py:104:1: D205 1 blank line required between summary line and description
./dotify/model.py:104:1: D400 First line should end with a period
./dotify/model.py:109:9: WPS420 Found wrong keyword: pass
./dotify/model.py:109:9: WPS604 Found incorrect node inside `class` body
./dotify/model.py:111:1: D105 Missing docstring in magic method
./dotify/model.py:112:16: WPS237 Found a too complex `f` string
./dotify/model.py:112:16: WPS305 Found `f` string
./dotify/model.py:115:18: N805 first argument of a method should be named 'self'
./dotify/model.py:116:1: D400 First line should end with a period
./dotify/model.py:128:1: D400 First line should end with a period
./dotify/model.py:136:61: Q000 Remove bad quotes
./dotify/model.py:137:1: D400 First line should end with a period
./dotify/model.py:138:1: DAR401 Missing exception(s) in Raises section: -r NotFound
./dotify/model.py:142:1: DAR103 Parameter type mismatch:  ~limit: expected int but was int, optional
./dotify/model.py:145:1: DAR402 Excess exception(s) in Raises section: +r cls.NotFound
./dotify/model.py:145:1: DAR003 Incorrect indentation: ~<
./dotify/model.py:152:9: WPS110 Found wrong variable name: results
./dotify/model.py:161:1: D205 1 blank line required between summary line and description
./dotify/model.py:161:1: D400 First line should end with a period
./dotify/model.py:161:1: D401 First line should be in imperative mood; try rephrasing
./dotify/model.py:169:1: DAR402 Excess exception(s) in Raises section: +r cls.InvalidURL
./dotify/model.py:175:21: WPS442 Found outer scope names shadowing: cls
./dotify/model.py:177:23: Q000 Remove bad quotes
./dotify/model.py:177:23: WPS305 Found `f` string
./dotify/model.py:180:1: S101 Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
./dotify/model.py:181:13: WPS329 Found useless `except` case
./dotify/model.py:189:5: WPS231 Found function with too much cognitive complexity: 20 > 12
./dotify/model.py:190:1: D205 1 blank line required between summary line and description
./dotify/model.py:190:1: D400 First line should end with a period
./dotify/model.py:190:1: D401 First line should be in imperative mood; try rephrasing
./dotify/model.py:198:1: DAR402 Excess exception(s) in Raises section: +r cls.NotFound
./dotify/model.py:199:1: DAR402 Excess exception(s) in Raises section: +r cls.InvalidURL
./dotify/model.py:200:1: DAR402 Excess exception(s) in Raises section: +r cls.UnexpectedError
./dotify/model.py:200:1: DAR003 Incorrect indentation: ~<
./dotify/model.py:207:9: WPS231 Found function with too much cognitive complexity: 14 > 12
./dotify/model.py:207:21: WPS442 Found outer scope names shadowing: cls
./dotify/model.py:210:13: WPS111 Found too short name: e < 2
./dotify/model.py:211:37: WPS432 Found magic number: 404
./dotify/model.py:213:39: WPS432 Found magic number: 400
./dotify/model.py:216:21: WPS503 Found useless returning `else` statement
./dotify/__init__.py:0:1: WPS412 Found `__init__.py` module with logic
./dotify/__init__.py:1:1: D104 Missing docstring in public package
./dotify/__init__.py:6:1: WPS410 Found wrong metadata variable: __all__
./dotify/__init__.py:7:5: Q000 Remove bad quotes
./dotify/__init__.py:8:5: Q000 Remove bad quotes
./dotify/__init__.py:9:5: Q000 Remove bad quotes
./dotify/__init__.py:10:5: Q000 Remove bad quotes
./dotify/models/album.py:1:1: D100 Missing docstring in public module
./dotify/models/album.py:9:1: WPS301 Found dotted raw import: dotify.models
./dotify/models/album.py:12:28: Q000 Remove bad quotes
./dotify/models/album.py:12:28: WPS305 Found `f` string
./dotify/models/album.py:15:5: WPS433 Found nested import
./dotify/models/album.py:16:5: WPS433 Found nested import
./dotify/models/album.py:19:1: WPS214 Found too many methods: 8 > 7
./dotify/models/album.py:20:1: D101 Missing docstring in public class
./dotify/models/album.py:22:5: WPS306 Found class without a base class: Json
./dotify/models/album.py:22:5: WPS431 Found nested class: Json
./dotify/models/album.py:23:1: D106 Missing docstring in public nested class
./dotify/models/album.py:26:13: Q000 Remove bad quotes
./dotify/models/album.py:27:13: Q000 Remove bad quotes
./dotify/models/album.py:28:13: Q000 Remove bad quotes
./dotify/models/album.py:31:1: D105 Missing docstring in magic method
./dotify/models/album.py:32:16: Q000 Remove bad quotes
./dotify/models/album.py:32:16: WPS305 Found `f` string
./dotify/models/album.py:34:1: D105 Missing docstring in magic method
./dotify/models/album.py:38:25: Q000 Remove bad quotes
./dotify/models/album.py:39:1: D102 Missing docstring in public method
./dotify/models/album.py:40:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/album.py:44:1: D102 Missing docstring in public method
./dotify/models/album.py:45:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/album.py:49:1: D102 Missing docstring in public method
./dotify/models/album.py:50:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/album.py:52:1: S101 Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
./dotify/models/album.py:52:40: WPS432 Found magic number: 200
./dotify/models/album.py:52:45: Q000 Remove bad quotes
./dotify/models/album.py:52:45: WPS237 Found a too complex `f` string
./dotify/models/album.py:52:45: WPS305 Found `f` string
./dotify/models/album.py:55:30: Q000 Remove bad quotes
./dotify/models/album.py:55:57: Q000 Remove bad quotes
./dotify/models/album.py:55:87: C812 missing trailing comma
./dotify/models/album.py:59:34: Q000 Remove bad quotes
./dotify/models/album.py:60:1: D102 Missing docstring in public method
./dotify/models/album.py:61:1: DAR301 Missing "Yields" in Docstring: - yield
./dotify/models/album.py:64:17: WPS110 Found wrong variable name: result
./dotify/models/album.py:64:36: Q000 Remove bad quotes
./dotify/models/album.py:65:30: Q000 Remove bad quotes
./dotify/models/album.py:65:47: Q000 Remove bad quotes
./dotify/models/album.py:69:36: Q000 Remove bad quotes
./dotify/models/album.py:71:25: Q000 Remove bad quotes
./dotify/models/album.py:77:1: RST399 Document or section may not begin with a transition.
./dotify/models/album.py:77:1: RST399 Document may not end with a transition.
./dotify/models/album.py:77:60: WPS442 Found outer scope names shadowing: logger
./dotify/models/album.py:77:79: C812 missing trailing comma
./dotify/models/album.py:78:1: DAR101 Missing parameter(s) in Docstring: - logger
./dotify/models/album.py:78:1: DAR101 Missing parameter(s) in Docstring: - path
./dotify/models/album.py:78:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/album.py:78:1: DAR101 Missing parameter(s) in Docstring: - skip_existing
./dotify/models/album.py:79:1: D102 Missing docstring in public method
./dotify/models/album.py:85:24: Q000 Remove bad quotes
./dotify/models/album.py:85:24: WPS305 Found `f` string
./dotify/models/album.py:85:82: C812 missing trailing comma
./dotify/models/album.py:93:36: Q000 Remove bad quotes
./dotify/models/album.py:94:1: D102 Missing docstring in public method
./dotify/models/album.py:94:1: RST399 Document or section may not begin with a transition.
./dotify/models/album.py:94:1: RST399 Document may not end with a transition.
./dotify/models/album.py:97:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/album.py:97:1: DAR101 Missing parameter(s) in Docstring: - url
./dotify/models/artist.py:1:1: D100 Missing docstring in public module
./dotify/models/artist.py:5:28: Q000 Remove bad quotes
./dotify/models/artist.py:5:28: WPS305 Found `f` string
./dotify/models/artist.py:9:1: D101 Missing docstring in public class
./dotify/models/artist.py:11:5: WPS306 Found class without a base class: Json
./dotify/models/artist.py:11:5: WPS431 Found nested class: Json
./dotify/models/artist.py:12:1: D106 Missing docstring in public nested class
./dotify/models/artist.py:16:1: D102 Missing docstring in public method
./dotify/models/artist.py:17:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/artist.py:19:1: D105 Missing docstring in magic method
./dotify/models/image.py:1:1: D100 Missing docstring in public module
./dotify/models/image.py:5:28: Q000 Remove bad quotes
./dotify/models/image.py:5:28: WPS305 Found `f` string
./dotify/models/image.py:9:1: D101 Missing docstring in public class
./dotify/models/image.py:11:5: WPS306 Found class without a base class: Json
./dotify/models/image.py:11:5: WPS431 Found nested class: Json
./dotify/models/image.py:12:1: D106 Missing docstring in public nested class
./dotify/models/image.py:14:1: D105 Missing docstring in magic method
./dotify/models/playlist.py:1:1: D100 Missing docstring in public module
./dotify/models/playlist.py:6:1: WPS301 Found dotted raw import: dotify.models
./dotify/models/playlist.py:9:28: Q000 Remove bad quotes
./dotify/models/playlist.py:9:28: WPS305 Found `f` string
./dotify/models/playlist.py:12:5: WPS433 Found nested import
./dotify/models/playlist.py:16:1: D101 Missing docstring in public class
./dotify/models/playlist.py:18:5: WPS306 Found class without a base class: Json
./dotify/models/playlist.py:18:5: WPS431 Found nested class: Json
./dotify/models/playlist.py:19:1: D106 Missing docstring in public nested class
./dotify/models/playlist.py:21:25: Q000 Remove bad quotes
./dotify/models/playlist.py:21:47: Q000 Remove bad quotes
./dotify/models/playlist.py:23:1: D107 Missing docstring in __init__
./dotify/models/playlist.py:24:12: Q000 Remove bad quotes
./dotify/models/playlist.py:25:13: WPS420 Found wrong keyword: del
./dotify/models/playlist.py:25:17: WPS529 Found implicit `.get()` dict usage
./dotify/models/playlist.py:25:23: Q000 Remove bad quotes
./dotify/models/playlist.py:29:1: D105 Missing docstring in magic method
./dotify/models/playlist.py:32:1: D105 Missing docstring in magic method
./dotify/models/playlist.py:37:1: D102 Missing docstring in public method
./dotify/models/playlist.py:38:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/playlist.py:41:34: Q000 Remove bad quotes
./dotify/models/playlist.py:42:1: D102 Missing docstring in public method
./dotify/models/playlist.py:43:1: DAR301 Missing "Yields" in Docstring: - yield
./dotify/models/playlist.py:44:69: Q000 Remove bad quotes
./dotify/models/playlist.py:49:17: WPS110 Found wrong variable name: result
./dotify/models/playlist.py:49:36: Q000 Remove bad quotes
./dotify/models/playlist.py:50:30: Q000 Remove bad quotes
./dotify/models/playlist.py:50:39: Q000 Remove bad quotes
./dotify/models/playlist.py:50:56: Q000 Remove bad quotes
./dotify/models/playlist.py:54:36: Q000 Remove bad quotes
./dotify/models/playlist.py:56:25: Q000 Remove bad quotes
./dotify/models/playlist.py:60:45: Q000 Remove bad quotes
./dotify/models/playlist.py:60:69: C812 missing trailing comma
./dotify/models/playlist.py:64:1: RST399 Document or section may not begin with a transition.
./dotify/models/playlist.py:64:1: RST399 Document may not end with a transition.
./dotify/models/playlist.py:64:60: WPS442 Found outer scope names shadowing: logger
./dotify/models/playlist.py:64:79: C812 missing trailing comma
./dotify/models/playlist.py:65:1: DAR101 Missing parameter(s) in Docstring: - logger
./dotify/models/playlist.py:65:1: DAR101 Missing parameter(s) in Docstring: - path
./dotify/models/playlist.py:65:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/playlist.py:65:1: DAR101 Missing parameter(s) in Docstring: - skip_existing
./dotify/models/playlist.py:66:1: D102 Missing docstring in public method
./dotify/models/playlist.py:72:24: Q000 Remove bad quotes
./dotify/models/playlist.py:72:24: WPS305 Found `f` string
./dotify/models/playlist.py:72:82: C812 missing trailing comma
./dotify/models/playlist.py:80:36: Q000 Remove bad quotes
./dotify/models/playlist.py:81:1: D102 Missing docstring in public method
./dotify/models/playlist.py:81:1: RST399 Document or section may not begin with a transition.
./dotify/models/playlist.py:81:1: RST399 Document may not end with a transition.
./dotify/models/playlist.py:84:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/playlist.py:84:1: DAR101 Missing parameter(s) in Docstring: - url
./dotify/models/track.py:1:1: D100 Missing docstring in public module
./dotify/models/track.py:13:28: Q000 Remove bad quotes
./dotify/models/track.py:13:28: WPS305 Found `f` string
./dotify/models/track.py:15:25: Q000 Remove bad quotes
./dotify/models/track.py:15:39: Q000 Remove bad quotes
./dotify/models/track.py:18:5: WPS433 Found nested import
./dotify/models/track.py:21:1: WPS214 Found too many methods: 12 > 7
./dotify/models/track.py:22:1: D101 Missing docstring in public class
./dotify/models/track.py:24:5: WPS306 Found class without a base class: Json
./dotify/models/track.py:24:5: WPS431 Found nested class: Json
./dotify/models/track.py:25:1: D106 Missing docstring in public nested class
./dotify/models/track.py:28:13: Q000 Remove bad quotes
./dotify/models/track.py:29:13: Q000 Remove bad quotes
./dotify/models/track.py:30:13: Q000 Remove bad quotes
./dotify/models/track.py:33:1: D105 Missing docstring in magic method
./dotify/models/track.py:34:16: Q000 Remove bad quotes
./dotify/models/track.py:34:16: WPS305 Found `f` string
./dotify/models/track.py:38:1: D102 Missing docstring in public method
./dotify/models/track.py:39:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:42:25: Q000 Remove bad quotes
./dotify/models/track.py:43:1: D102 Missing docstring in public method
./dotify/models/track.py:44:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:48:1: D102 Missing docstring in public method
./dotify/models/track.py:49:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:50:13: WPS110 Found wrong variable name: item
./dotify/models/track.py:50:21: WPS335 Found incorrect `for` loop iter type
./dotify/models/track.py:51:16: WPS421 Found wrong function call: hasattr
./dotify/models/track.py:51:30: Q000 Remove bad quotes
./dotify/models/track.py:58:1: D102 Missing docstring in public method
./dotify/models/track.py:59:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:62:1: D102 Missing docstring in public method
./dotify/models/track.py:62:1: DAR101 Missing parameter(s) in Docstring: - limit
./dotify/models/track.py:62:1: DAR301 Missing "Yields" in Docstring: - yield
./dotify/models/track.py:62:1: RST399 Document or section may not begin with a transition.
./dotify/models/track.py:62:1: RST399 Document may not end with a transition.
./dotify/models/track.py:63:9: WPS110 Found wrong variable name: results
./dotify/models/track.py:63:65: Q000 Remove bad quotes
./dotify/models/track.py:65:9: WPS526 Found implicit `yield from` usage
./dotify/models/track.py:65:13: WPS110 Found wrong variable name: result
./dotify/models/track.py:66:34: Q000 Remove bad quotes
./dotify/models/track.py:70:1: D102 Missing docstring in public method
./dotify/models/track.py:71:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:75:1: D102 Missing docstring in public method
./dotify/models/track.py:76:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:78:22: Q000 Remove bad quotes
./dotify/models/track.py:82:13: Q000 Remove bad quotes
./dotify/models/track.py:83:13: Q000 Remove bad quotes
./dotify/models/track.py:84:13: Q000 Remove bad quotes
./dotify/models/track.py:85:13: Q000 Remove bad quotes
./dotify/models/track.py:86:13: Q000 Remove bad quotes
./dotify/models/track.py:87:13: Q000 Remove bad quotes
./dotify/models/track.py:88:13: Q000 Remove bad quotes
./dotify/models/track.py:89:13: Q000 Remove bad quotes
./dotify/models/track.py:90:13: Q000 Remove bad quotes
./dotify/models/track.py:94:1: D102 Missing docstring in public method
./dotify/models/track.py:94:1: DAR101 Missing parameter(s) in Docstring: - mp4_path
./dotify/models/track.py:94:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:94:1: DAR101 Missing parameter(s) in Docstring: - skip_existing
./dotify/models/track.py:94:1: RST399 Document or section may not begin with a transition.
./dotify/models/track.py:94:1: RST399 Document may not end with a transition.
./dotify/models/track.py:102:14: C812 missing trailing comma
./dotify/models/track.py:106:1: RST399 Document or section may not begin with a transition.
./dotify/models/track.py:106:1: RST399 Document may not end with a transition.
./dotify/models/track.py:106:60: WPS442 Found outer scope names shadowing: logger
./dotify/models/track.py:106:79: C812 missing trailing comma
./dotify/models/track.py:107:1: DAR101 Missing parameter(s) in Docstring: - logger
./dotify/models/track.py:107:1: DAR101 Missing parameter(s) in Docstring: - mp3_path
./dotify/models/track.py:107:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:107:1: DAR101 Missing parameter(s) in Docstring: - skip_existing
./dotify/models/track.py:108:1: D102 Missing docstring in public method
./dotify/models/track.py:130:1: RST399 Document or section may not begin with a transition.
./dotify/models/track.py:130:1: RST399 Document may not end with a transition.
./dotify/models/track.py:130:60: WPS442 Found outer scope names shadowing: logger
./dotify/models/track.py:130:79: C812 missing trailing comma
./dotify/models/track.py:131:1: DAR101 Missing parameter(s) in Docstring: - logger
./dotify/models/track.py:131:1: DAR101 Missing parameter(s) in Docstring: - mp3_path
./dotify/models/track.py:131:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:131:1: DAR101 Missing parameter(s) in Docstring: - skip_existing
./dotify/models/track.py:132:1: D102 Missing docstring in public method
./dotify/models/track.py:138:36: Q000 Remove bad quotes
./dotify/models/track.py:139:1: D102 Missing docstring in public method
./dotify/models/track.py:139:1: RST399 Document or section may not begin with a transition.
./dotify/models/track.py:139:1: RST399 Document may not end with a transition.
./dotify/models/track.py:142:1: DAR201 Missing "Returns" in Docstring: - return
./dotify/models/track.py:142:1: DAR101 Missing parameter(s) in Docstring: - url
./dotify/models/user.py:1:1: D100 Missing docstring in public module
./dotify/models/user.py:5:28: Q000 Remove bad quotes
./dotify/models/user.py:5:28: WPS305 Found `f` string
./dotify/models/user.py:9:1: D400 First line should end with a period
./dotify/models/user.py:11:1: D106 Missing docstring in public nested class
./dotify/models/user.py:11:5: WPS306 Found class without a base class: Json
./dotify/models/user.py:11:5: WPS431 Found nested class: Json
./dotify/models/user.py:12:9: WPS420 Found wrong keyword: pass
./dotify/models/user.py:12:9: WPS604 Found incorrect node inside `class` body
./dotify/models/user.py:14:1: D105 Missing docstring in magic method
./dotify/models/__init__.py:0:1: WPS412 Found `__init__.py` module with logic
./dotify/models/__init__.py:1:1: D104 Missing docstring in public package
./dotify/models/__init__.py:9:1: WPS410 Found wrong metadata variable: __all__
./dotify/models/__init__.py:10:5: Q000 Remove bad quotes
./dotify/models/__init__.py:11:5: Q000 Remove bad quotes
./dotify/models/__init__.py:12:5: Q000 Remove bad quotes
./dotify/models/__init__.py:13:5: Q000 Remove bad quotes
./dotify/models/__init__.py:14:5: Q000 Remove bad quotes
./dotify/models/__init__.py:15:5: Q000 Remove bad quotes
./dotify/models/__init__.py:16:5: Q000 Remove bad quotes
./examples/album_example.py:1:1: D100 Missing docstring in public module
./examples/album_example.py:5:16: Q000 Remove bad quotes
./examples/album_example.py:6:33: Q000 Remove bad quotes
./examples/album_example.py:7:37: Q000 Remove bad quotes
./examples/album_example.py:13:13: WPS421 Found wrong function call: print
./examples/album_example.py:15:9: WPS421 Found wrong function call: print
./examples/album_example.py:16:32: Q000 Remove bad quotes
./examples/album_example.py:17:9: WPS421 Found wrong function call: print
./examples/playlist_example.py:1:1: D100 Missing docstring in public module
./examples/playlist_example.py:5:16: Q000 Remove bad quotes
./examples/playlist_example.py:6:33: Q000 Remove bad quotes
./examples/playlist_example.py:7:37: Q000 Remove bad quotes
./examples/playlist_example.py:10:41: Q000 Remove bad quotes
./examples/playlist_example.py:13:13: WPS421 Found wrong function call: print
./examples/playlist_example.py:15:9: WPS421 Found wrong function call: print
./examples/playlist_example.py:17:13: Q000 Remove bad quotes
./examples/playlist_example.py:17:71: C812 missing trailing comma
./examples/playlist_example.py:19:9: WPS421 Found wrong function call: print
./examples/track_example.py:1:1: D100 Missing docstring in public module
./examples/track_example.py:5:16: Q000 Remove bad quotes
./examples/track_example.py:6:33: Q000 Remove bad quotes
./examples/track_example.py:7:37: Q000 Remove bad quotes
./examples/track_example.py:10:35: Q000 Remove bad quotes
./examples/track_example.py:11:9: WPS421 Found wrong function call: print
./examples/track_example.py:12:32: Q000 Remove bad quotes
./examples/track_example.py:13:9: WPS421 Found wrong function call: print
./examples/track_example.py:14:24: Q000 Remove bad quotes
./tests/base.py:0:1: WPS226 Found string constant over-use: \s+ > 3
./tests/base.py:1:1: D100 Missing docstring in public module
./tests/base.py:6:1: WPS301 Found dotted raw import: dotify.models
./tests/base.py:11:1: WPS214 Found too many methods: 9 > 7
./tests/base.py:12:1: D101 Missing docstring in public class
./tests/base.py:15:1: D102 Missing docstring in public method
./tests/base.py:17:29: Q000 Remove bad quotes
./tests/base.py:17:60: Q000 Remove bad quotes
./tests/base.py:17:77: C812 missing trailing comma
./tests/base.py:20:55: Q000 Remove bad quotes
./tests/base.py:24:1: D102 Missing docstring in public method
./tests/base.py:28:5: WPS602 Found using `@staticmethod`
./tests/base.py:29:1: D102 Missing docstring in public method
./tests/base.py:29:1: RST399 Document or section may not begin with a transition.
./tests/base.py:29:1: RST399 Document may not end with a transition.
./tests/base.py:30:1: DAR201 Missing "Returns" in Docstring: - return
./tests/base.py:30:1: DAR101 Missing parameter(s) in Docstring: - track
./tests/base.py:32:9: WPS221 Found line with high Jones Complexity: 15 > 14
./tests/base.py:32:28: Q000 Remove bad quotes
./tests/base.py:32:36: Q000 Remove bad quotes
./tests/base.py:32:54: Q000 Remove bad quotes
./tests/base.py:32:62: Q000 Remove bad quotes
./tests/base.py:34:16: Q000 Remove bad quotes
./tests/base.py:34:16: WPS305 Found `f` string
./tests/base.py:37:5: WPS602 Found using `@staticmethod`
./tests/base.py:38:1: D102 Missing docstring in public method
./tests/base.py:38:1: RST399 Document or section may not begin with a transition.
./tests/base.py:38:1: RST399 Document may not end with a transition.
./tests/base.py:39:1: DAR101 Missing parameter(s) in Docstring: - playlist
./tests/base.py:39:1: DAR201 Missing "Returns" in Docstring: - return
./tests/base.py:41:20: Q000 Remove bad quotes
./tests/base.py:41:28: Q000 Remove bad quotes
./tests/base.py:43:9: WPS331 Found variables that are only used for `return`: name
./tests/base.py:46:5: WPS602 Found using `@staticmethod`
./tests/base.py:47:1: D102 Missing docstring in public method
./tests/base.py:47:1: RST399 Document or section may not begin with a transition.
./tests/base.py:47:1: RST399 Document may not end with a transition.
./tests/base.py:48:1: DAR101 Missing parameter(s) in Docstring: - album
./tests/base.py:48:1: DAR201 Missing "Returns" in Docstring: - return
./tests/base.py:50:9: WPS221 Found line with high Jones Complexity: 15 > 14
./tests/base.py:50:28: Q000 Remove bad quotes
./tests/base.py:50:36: Q000 Remove bad quotes
./tests/base.py:50:54: Q000 Remove bad quotes
./tests/base.py:50:62: Q000 Remove bad quotes
./tests/base.py:52:16: Q000 Remove bad quotes
./tests/base.py:52:16: WPS305 Found `f` string
./tests/base.py:55:5: WPS602 Found using `@staticmethod`
./tests/base.py:55:19: WPS110 Found wrong variable name: obj
./tests/base.py:56:1: D102 Missing docstring in public method
./tests/base.py:56:1: RST399 Document or section may not begin with a transition.
./tests/base.py:56:1: RST399 Document may not end with a transition.
./tests/base.py:57:1: DAR101 Missing parameter(s) in Docstring: - attribute_path
./tests/base.py:57:1: DAR101 Missing parameter(s) in Docstring: - obj
./tests/base.py:57:1: DAR201 Missing "Returns" in Docstring: - return
./tests/base.py:58:9: WPS430 Found nested function: get_value_recursive
./tests/base.py:58:33: WPS442 Found outer scope names shadowing: obj
./tests/base.py:58:33: WPS110 Found wrong variable name: obj
./tests/base.py:59:1: D103 Missing docstring in public function
./tests/base.py:59:1: DAR101 Missing parameter(s) in Docstring: - obj
./tests/base.py:59:1: DAR101 Missing parameter(s) in Docstring: - paths
./tests/base.py:59:1: DAR201 Missing "Returns" in Docstring: - return
./tests/base.py:59:1: RST399 Document or section may not begin with a transition.
./tests/base.py:59:1: RST399 Document may not end with a transition.
./tests/base.py:60:16: WPS507 Found useless `len()` compare
./tests/base.py:65:80: Q000 Remove bad quotes
./tests/base.py:67:37: WPS110 Found wrong variable name: obj
./tests/base.py:68:1: D102 Missing docstring in public method
./tests/base.py:68:1: DAR101 Missing parameter(s) in Docstring: - obj
./tests/base.py:68:1: DAR201 Missing "Returns" in Docstring: - return
./tests/base.py:68:1: DAR401 Missing exception(s) in Raises section: -r RuntimeError
./tests/base.py:68:1: RST399 Document or section may not begin with a transition.
./tests/base.py:68:1: RST399 Document may not end with a transition.
./tests/base.py:76:13: WPS503 Found useless returning `else` statement
./tests/base.py:76:32: Q000 Remove bad quotes
./tests/base.py:76:32: WPS237 Found a too complex `f` string
./tests/base.py:76:32: WPS305 Found `f` string
./tests/base.py:79:1: D102 Missing docstring in public method
./tests/base.py:79:1: DAR101 Missing parameter(s) in Docstring: - cls_name
./tests/base.py:79:1: DAR101 Missing parameter(s) in Docstring: - url
./tests/base.py:79:1: RST399 Document or section may not begin with a transition.
./tests/base.py:79:1: RST399 Document may not end with a transition.
./tests/base.py:81:13: WPS117 Found name reserved for first argument: cls
./tests/base.py:83:13: WPS110 Found wrong variable name: obj
./tests/base.py:93:1: D102 Missing docstring in public method
./tests/base.py:93:1: DAR101 Missing parameter(s) in Docstring: - cls_name
./tests/base.py:93:1: DAR101 Missing parameter(s) in Docstring: - limit
./tests/base.py:93:1: DAR101 Missing parameter(s) in Docstring: - metadata_list
./tests/base.py:93:1: DAR101 Missing parameter(s) in Docstring: - query
./tests/base.py:93:1: RST399 Document or section may not begin with a transition.
./tests/base.py:93:1: RST399 Document may not end with a transition.
./tests/base.py:97:13: WPS117 Found name reserved for first argument: cls
./tests/base.py:99:17: WPS110 Found wrong variable name: result
./tests/base.py:100:27: WPS110 Found wrong variable name: value
./tests/base.py:101:39: Q000 Remove bad quotes
./tests/base.py:102:25: WPS220 Found too deep nesting: 24 > 20
./tests/settings.py:1:1: D100 Missing docstring in public module
./tests/settings.py:5:48: Q000 Remove bad quotes
./tests/settings.py:8:34: WPS110 Found wrong variable name: file
./tests/settings.py:11:5: WPS407 Found mutable module constant
./tests/settings.py:12:9: Q000 Remove bad quotes
./tests/settings.py:12:38: Q000 Remove bad quotes
./tests/settings.py:13:9: Q000 Remove bad quotes
./tests/settings.py:13:42: Q000 Remove bad quotes
./tests/settings.py:16:1: S101 Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
./tests/settings.py:16:24: Q000 Remove bad quotes
./tests/settings.py:16:51: Q000 Remove bad quotes
./tests/settings.py:17:1: S101 Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
./tests/settings.py:18:21: Q000 Remove bad quotes
./tests/settings.py:19:4: Q000 Remove bad quotes
./tests/test_download.py:1:1: D100 Missing docstring in public module
./tests/test_download.py:5:1: D101 Missing docstring in public class
./tests/test_download.py:8:1: D102 Missing docstring in public method
./tests/test_download.py:9:15: Q000 Remove bad quotes
./tests/test_download.py:10:23: Q000 Remove bad quotes
./tests/test_download.py:13:1: D102 Missing docstring in public method
./tests/test_download.py:14:15: Q000 Remove bad quotes
./tests/test_download.py:15:23: Q000 Remove bad quotes
./tests/test_download.py:18:1: D102 Missing docstring in public method
./tests/test_download.py:19:15: Q000 Remove bad quotes
./tests/test_download.py:20:23: Q000 Remove bad quotes
./tests/test_search.py:0:1: WPS226 Found string constant over-use: name > 3
./tests/test_search.py:1:1: D100 Missing docstring in public module
./tests/test_search.py:5:1: D101 Missing docstring in public class
./tests/test_search.py:8:1: D102 Missing docstring in public method
./tests/test_search.py:11:17: Q000 Remove bad quotes
./tests/test_search.py:11:25: Q000 Remove bad quotes
./tests/test_search.py:12:17: Q000 Remove bad quotes
./tests/test_search.py:12:24: Q000 Remove bad quotes
./tests/test_search.py:13:17: Q000 Remove bad quotes
./tests/test_search.py:14:17: Q000 Remove bad quotes
./tests/test_search.py:14:30: Q000 Remove bad quotes
./tests/test_search.py:15:17: Q000 Remove bad quotes
./tests/test_search.py:15:32: Q000 Remove bad quotes
./tests/test_search.py:16:17: Q000 Remove bad quotes
./tests/test_search.py:16:31: Q000 Remove bad quotes
./tests/test_search.py:17:14: C812 missing trailing comma
./tests/test_search.py:20:21: Q000 Remove bad quotes
./tests/test_search.py:20:42: Q000 Remove bad quotes
./tests/test_search.py:23:1: D102 Missing docstring in public method
./tests/test_search.py:26:17: Q000 Remove bad quotes
./tests/test_search.py:26:25: Q000 Remove bad quotes
./tests/test_search.py:27:17: Q000 Remove bad quotes
./tests/test_search.py:27:24: Q000 Remove bad quotes
./tests/test_search.py:28:17: Q000 Remove bad quotes
./tests/test_search.py:28:32: Q000 Remove bad quotes
./tests/test_search.py:28:100: E501 line too long (116 > 99 characters)
./tests/test_search.py:29:14: C812 missing trailing comma
./tests/test_search.py:32:21: Q000 Remove bad quotes
./tests/test_search.py:32:45: Q000 Remove bad quotes
./tests/test_search.py:35:1: D102 Missing docstring in public method
./tests/test_search.py:38:17: Q000 Remove bad quotes
./tests/test_search.py:38:25: Q000 Remove bad quotes
./tests/test_search.py:39:17: Q000 Remove bad quotes
./tests/test_search.py:39:24: Q000 Remove bad quotes
./tests/test_search.py:40:17: Q000 Remove bad quotes
./tests/test_search.py:40:32: Q000 Remove bad quotes
./tests/test_search.py:41:17: Q000 Remove bad quotes
./tests/test_search.py:41:31: Q000 Remove bad quotes
./tests/test_search.py:42:14: C812 missing trailing comma
./tests/test_search.py:45:21: Q000 Remove bad quotes
./tests/test_search.py:45:42: Q000 Remove bad quotes
./tests/__init__.py:1:1: D104 Missing docstring in public package
    
  

System Information

  • Python version: 3.8.5
  • Operating system: Windows 10