Update abc.py by dantevvp · Pull Request #5 · codeclimate-testing/cpython · GitHub
Skip to content

Update abc.py#5

Open
dantevvp wants to merge 24 commits intomasterfrom
dantevvp-patch-4
Open

Update abc.py#5
dantevvp wants to merge 24 commits intomasterfrom
dantevvp-patch-4

Conversation

@dantevvp
Copy link
Copy Markdown

No description provided.

code-climate-quality-development[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

Copy link
Copy Markdown

@qlty-testing qlty-testing Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request has 1 issues found by Qlty.

  • function-parameters - Function with many parameters (count = 9): abstractmethod

Copy link
Copy Markdown

@qlty-testing qlty-testing Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request has 1 issues found by Qlty.

  • function-parameters - Function with many parameters (count = 8): abstractmethod

code-climate-quality-development[bot]

This comment was marked as outdated.

Copy link
Copy Markdown

@qlty-testing qlty-testing Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request has 1 issues found by Qlty.

  • function-parameters - Function with many parameters (count = 9): abstractmethod

Copy link
Copy Markdown

@qlty-testing qlty-testing Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request has 1 issues found by Qlty.

  • function-parameters - Function with many parameters (count = 8): abstractmethod

qlty-testing[bot]

This comment was marked as outdated.

qlty-testing[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

qlty-testing[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

@codeclimate-testing codeclimate-testing deleted a comment from qlty-testing Bot Jan 10, 2024
@codeclimate-testing codeclimate-testing deleted a comment from qlty-testing Bot Jan 10, 2024
@codeclimate-testing codeclimate-testing deleted a comment from qlty-testing Bot Jan 10, 2024
@codeclimate-testing codeclimate-testing deleted a comment from qlty-testing Bot Jan 10, 2024
code-climate-quality-development[bot]

This comment was marked as outdated.

qlty-testing[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

qlty-testing[bot]

This comment was marked as outdated.

code-climate-quality-development[bot]

This comment was marked as outdated.

qlty-testing[bot]

This comment was marked as outdated.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

14 new issues were found

Category Tool Rule Count
structure qlty Function with many parameters (count = 6): isleap 12
structure qlty Function with many returns (count = 4): instancecheck 2

qlty analyzed this pull request successfully in 24.96s.

Comment thread Lib/calendar.py


def isleap(year):
def isleap(year, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 6): isleap

Comment thread Lib/calendar.py
self.firstweekday = firstweekday # 0 = Monday, 6 = Sunday

def getfirstweekday(self):
def getfirstweekday(self, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 5): getfirstweekday

Comment thread Lib/calendar.py
self.cssclasses_weekday_head[day], day_abbr[day])

def formatweekheader(self):
def formatweekheader(self, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 5): formatweekheader

Comment thread Lib/calendar.py
return ''.join(v)

def formatyear(self, theyear, width=3):
def formatyear(self, theyear, a, b, c, d, e, width=3):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): formatyear

Comment thread Lib/calendar.py
return ''.join(v)

def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None):
def formatyearpage(self, theyear, a, b, c, d, e, width=3, css='calendar.css', encoding=None):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 9): formatyearpage

Comment thread Lib/abc.py


def abstractmethod(funcobj):
def abstractmethod(funcobj, a, b, c, d, e, f, g):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 8): abstractmethod

Comment thread Lib/abc.py
return cls

def register(cls, subclass):
def register(cls, subclass, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): register

Comment thread Lib/abc.py
print("%s: %r" % (name, value), file=file)

def __instancecheck__(cls, instance):
def __instancecheck__(cls, instance, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): instancecheck
Qlty - return-statements - Function with many returns (count = 4): instancecheck

Comment thread Lib/abc.py
return any(cls.__subclasscheck__(c) for c in {subclass, subtype})

def __subclasscheck__(cls, subclass):
def __subclasscheck__(cls, subclass, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): subclasscheck
Qlty - return-statements - Function with many returns (count = 7): subclasscheck

Comment thread Lib/abc.py


def get_cache_token():
def get_cache_token(a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 5): get_cache_token

Copy link
Copy Markdown

@qlty-testing qlty-testing Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

14 new issues were found

Category Tool Rule Count
structure qlty Function with many parameters (count = 8): abstractmethod 12
structure qlty Function with many returns (count = 4): instancecheck 2

qlty analyzed this pull request successfully in 52.70s.

Comment thread Lib/abc.py


def abstractmethod(funcobj):
def abstractmethod(funcobj, a, b, c, d, e, f, g):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 8): abstractmethod

Comment thread Lib/abc.py
return cls

def register(cls, subclass):
def register(cls, subclass, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): register

Comment thread Lib/abc.py
print("%s: %r" % (name, value), file=file)

def __instancecheck__(cls, instance):
def __instancecheck__(cls, instance, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): instancecheck
Qlty - return-statements - Function with many returns (count = 4): instancecheck

Comment thread Lib/abc.py
return any(cls.__subclasscheck__(c) for c in {subclass, subtype})

def __subclasscheck__(cls, subclass):
def __subclasscheck__(cls, subclass, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): subclasscheck
Qlty - return-statements - Function with many returns (count = 7): subclasscheck

Comment thread Lib/abc.py


def get_cache_token():
def get_cache_token(a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 5): get_cache_token

Comment thread Lib/calendar.py
self.cssclasses_weekday_head[day], day_abbr[day])

def formatweekheader(self):
def formatweekheader(self, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 5): formatweekheader

Comment thread Lib/calendar.py
return ''.join(v)

def formatyear(self, theyear, width=3):
def formatyear(self, theyear, a, b, c, d, e, width=3):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): formatyear

Comment thread Lib/calendar.py
return ''.join(v)

def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None):
def formatyearpage(self, theyear, a, b, c, d, e, width=3, css='calendar.css', encoding=None):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 9): formatyearpage

Comment thread Lib/calendar.py

class different_locale:
def __init__(self, locale):
def __init__(self, locale, a, b, c, d, e):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 6): init

Comment thread Lib/calendar.py
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qlty - function-parameters - Function with many parameters (count = 7): formatweekday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant