tubone24/ebook_homebrew

View on GitHub
ebook_homebrew/models/uploaded_files_models.py

Summary

Maintainability
A
0 mins
Test Coverage

Too few public methods (0/2)
Invalid

class UploadedFilesModel(Base):

Used when class has too few public methods, so be sure it's really worth it.

Unable to import 'sqlalchemy.ext.declarative'
Invalid

from sqlalchemy.ext.declarative import declarative_base

Used when pylint has been unable to import a module.

Unable to import 'sqlalchemy.sql.functions'
Invalid

from sqlalchemy.sql.functions import current_timestamp

Used when pylint has been unable to import a module.

Unable to import 'sqlalchemy.dialects.mysql'
Invalid

from sqlalchemy.dialects.mysql import INTEGER

Used when pylint has been unable to import a module.

Unable to import 'sqlalchemy'
Invalid

from sqlalchemy import Column, String, DateTime

Used when pylint has been unable to import a module.

Line too long (83 > 79 characters)
Invalid

    id = Column("id", INTEGER(unsigned=True), primary_key=True, autoincrement=True)

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

There are no issues that match your filters.

Category
Status