Showing 2,929 of 2,929 total issues
Too few public methods (1/2) Open
@register_format_source
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Too few public methods (1/2) Open
@register_format_source
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Disallow trailing comma tuple Open
__slots__ = 'path',
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
In Python, a tuple is actually created by the comma symbol, not by the parentheses. Unfortunately, one can actually create a tuple by misplacing a trailing comma, which can lead to potential weird bugs in your code. You should always use parentheses explicitly for creating a tuple.
Missing function or method docstring Open
def create_key(descriptor: Descriptor, name: str, optional: bool = False,
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Cyclic import (satella.coding.concurrent -> satella.coding.concurrent.queue -> satella.coding.concurrent.thread -> satella.coding.decorators -> satella.coding.decorators.preconditions -> satella.coding.misc -> satella.coding.recast_exceptions -> satella.coding.decorators.decorators) Open
from setuptools import setup
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Used when a cyclic import between two or more modules is detected.
Cyclic import (satella.coding.concurrent.thread -> satella.coding.decorators -> satella.coding.decorators.arguments -> satella.coding.predicates -> satella.coding.structures -> satella.coding.structures.dictionaries -> satella.coding.structures.dictionaries.cache_dict -> satella.time -> satella.time.backoff) Open
from setuptools import setup
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Used when a cyclic import between two or more modules is detected.
Cyclic import (satella.coding.concurrent -> satella.coding.concurrent.atomic -> satella.time.measure -> satella.coding.decorators -> satella.coding.decorators.preconditions -> satella.coding.misc -> satella.coding.recast_exceptions -> satella.coding.decorators.decorators) Open
from setuptools import setup
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Used when a cyclic import between two or more modules is detected.
Cyclic import (satella.instrumentation.metrics -> satella.instrumentation.metrics.metric_types -> satella.instrumentation.metrics.metric_types.histogram -> satella.instrumentation.metrics.metric_types.measurable_mixin -> satella.instrumentation.metrics.metric_types.base) Open
from setuptools import setup
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Used when a cyclic import between two or more modules is detected.
Cyclic import (satella.coding.concurrent -> satella.coding.concurrent.queue -> satella.coding.concurrent.thread -> satella.coding.decorators -> satella.coding.decorators.preconditions -> satella.coding.decorators.arguments -> satella.coding.predicates -> satella.configuration.schema -> satella.configuration.schema.from_json -> satella.configuration.schema.structs -> satella.coding.recast_exceptions -> satella.coding.decorators.decorators) Open
from setuptools import setup
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Used when a cyclic import between two or more modules is detected.