Showing 261 of 403 total issues
Element (header#grp-header) is overqualified, just use #grp-header without element name. Open
Open
header#grp-header { position: static; }
- Exclude checks
Don't use IDs in selectors. Open
Open
#grp-content { top: 0; }
- Exclude checks
Use of !important Open
Open
content: none !important;
- Exclude checks
Don't use IDs in selectors. Open
Open
#properties-accordion .panel-heading,
- Exclude checks
Don't use IDs in selectors. Open
Open
aside div#search { width: 200px; }
- Exclude checks
Use of !important Open
Open
display: none !important;
- Exclude checks
Element (div#search) is overqualified, just use #search without element name. Open
Open
aside div#search { width: 200px; }
- Exclude checks
Element (p.errornote) is overqualified, just use .errornote without element name. Open
Open
.errorlist, p.errornote + ul.errorlist,
- Exclude checks
Don't use IDs in selectors. Open
Open
header#grp-header { position: static; }
- Exclude checks
Using width with padding-left can sometimes make elements larger than you expect. Open
Open
padding-left: 1px;
- Exclude checks
Element (li.grp-danger) is overqualified, just use .grp-danger without element name. Open
Open
.grp-messagelist > li.grp-danger {
- Exclude checks
Don't use IDs in selectors. Open
Open
#properties-accordion .panel-body {
- Exclude checks
TODO found Open
Open
// TODO: figure out how to reload above and add the new value to the page
- Exclude checks
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed. Open
Open
def clean(self, value):
- Read upRead up
- Exclude checks
Cognitive Complexity is a measure of how hard the control flow of a function is to understand. Functions with high Cognitive Complexity will be difficult to maintain.
See
TODO found Open
Open
// TODO: remove the page reload above and add the new case to the list
- Exclude checks
Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed. Open
Open
def update(
- Read upRead up
- Exclude checks
Cognitive Complexity is a measure of how hard the control flow of a function is to understand. Functions with high Cognitive Complexity will be difficult to maintain.
See
TODO found Open
Open
// TODO: remove the page reload above and add the new case to the list
- Exclude checks
Merge this if statement with the enclosing one. Open
Open
if (not os.path.exists(filename)) or (not read_installation_id(filename)):
- Read upRead up
- Exclude checks
Merging collapsible if
statements increases the code's readability.
Noncompliant Code Example
if condition1: if condition2: # ...
Compliant Solution
if condition1 and condition2: # ...
BUG found Open
Open
keeping a reference to BUG-ID and trying to reconstruct the URL
- Exclude checks
Rename function "makeExtension" to match the regular expression ^[a-z_][a-z0-9_]{2,}$. Open
Open
def makeExtension(**kwargs): # pylint: disable=invalid-name
- Read upRead up
- Exclude checks
Shared coding conventions allow teams to collaborate efficiently. This rule checks that all function names match a provided regular expression.
Noncompliant Code Example
With the default provided regular expression: ^[a-z_][a-z0-9_]{2,30}$
def MyFunction(a,b): ...
Compliant Solution
def my_function(a,b): ...