zxc23/dcss-scoreboard

View on GitHub

Showing 211 of 211 total issues

Line too long (85 > 79 characters)
Open

        ("Cheibrodos", "Arrhythmia", "Spectrina", "Tolias", "Wahaha", "magicpoints"),
Severity: Minor
Found in scoreboard/constants.py by pep8

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.

Line too long (80 > 79 characters)
Open

            Game.scored == (sqlalchemy.true() if scored else sqlalchemy.false())
Severity: Minor
Found in scoreboard/model.py by pep8

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.

Line too long (85 > 79 characters)
Open

    Column("achievement_id", Integer, ForeignKey("achievements.id"), nullable=False),
Severity: Minor
Found in scoreboard/orm.py by pep8

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.

Line too long (86 > 79 characters)
Open

    player_id = Column(Integer, ForeignKey("players.id"), nullable=False)  # type: int
Severity: Minor
Found in scoreboard/orm.py by pep8

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.

Line too long (88 > 79 characters)
Open

        raise Exception("Database hasn't been initialised, run setup_database() first!")
Severity: Minor
Found in scoreboard/orm.py by pep8

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.

Comparison to none should be 'if cond is none:'
Open

    if os.environ.get('SCOREBOARD_SKIP_WEBSITE') == None:
Severity: Minor
Found in loader.py by pep8

Comparison to singletons should use "is" or "is not".

Comparisons to singletons like None should always be done
with "is" or "is not", never the equality operators.

Okay: if arg is not None:
E711: if arg != None:
E711: if None == arg:
E712: if arg == True:
E712: if False == arg:

Also, beware of writing if x when you really mean if x is not None
-- e.g. when testing whether a variable or argument that defaults to
None was set to some other value.  The other value might have a type
(such as a container) that could be false in a boolean context!

Fallback background (hex or RGB) should precede HSL background.
Open

        background: hsl(205, 40%, 40%);

Rule doesn't have all its properties in alphabetical order.
Open

nav {

Adjoining classes: .navbar-nav .nav-link.active:focus
Open

.navbar-nav .nav-link.active:focus,

Fallback background-color (hex or RGB) should precede RGBA background-color.
Open

    background-color: rgba(212, 235, 208, 0.5);

Rule doesn't have all its properties in alphabetical order.
Open

.visually-hidden {

The property -ms-transform is compatible with -webkit-transform and should be included as well.
Open

        -webkit-transform: rotate(45deg);

Adjoining classes: .nav-tabs .nav-link.active
Open

.nav-tabs .nav-link.active, .nav-tabs .nav-link.active:focus, .nav-tabs .nav-link.active:hover {

The box-sizing property isn't supported in IE6 and IE7.
Open

    box-sizing: border-box;

Fallback background (hex or RGB) should precede HSL background.
Open

            background: hsl(86, 100%, 21%);

Rule doesn't have all its properties in alphabetical order.
Open

body {

Adjoining classes: .navbar-nav .nav-link.active
Open

.navbar-nav .nav-link.active,

Fallback background (hex or RGB) should precede HSL background.
Open

        background: hsl(200, 40%, 80%);

Adjoining classes: .nav-tabs .nav-link.active:hover
Open

.nav-tabs .nav-link.active, .nav-tabs .nav-link.active:focus, .nav-tabs .nav-link.active:hover {

Fallback background (hex or RGB) should precede HSL background.
Open

            background: hsl(65, 100%, 50%);
Severity
Category
Status
Source
Language