Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable design complexity checks #2591

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

nickdrozd
Copy link
Contributor

Type of Changes

Type
🔨 Refactoring

Description

Increase visibility into complexity by enabling Pylint's own design complexity checks.

Copy link

codecov bot commented Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.19%. Comparing base (d394fb9) to head (ca256f2).
Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2591      +/-   ##
==========================================
- Coverage   93.20%   93.19%   -0.01%     
==========================================
  Files          93       93              
  Lines       11065    11065              
==========================================
- Hits        10313    10312       -1     
- Misses        752      753       +1     
Flag Coverage Δ
linux 93.07% <100.00%> (-0.01%) ⬇️
pypy 93.19% <100.00%> (-0.01%) ⬇️
windows 93.17% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
astroid/arguments.py 99.24% <ø> (ø)
astroid/brain/brain_builtin_inference.py 92.06% <ø> (ø)
astroid/brain/brain_dataclasses.py 92.72% <100.00%> (ø)
astroid/brain/brain_gi.py 23.02% <ø> (ø)
astroid/brain/brain_namedtuple_enum.py 92.88% <ø> (ø)
astroid/decorators.py 74.46% <ø> (-1.07%) ⬇️
astroid/filter_statements.py 98.90% <ø> (ø)
astroid/nodes/_base_nodes.py 94.25% <ø> (ø)
astroid/nodes/node_ng.py 93.00% <ø> (ø)
astroid/protocols.py 89.78% <ø> (ø)

@Pierre-Sassoulas Pierre-Sassoulas added the Maintenance Discussion or action around maintaining astroid or the dev workflow label Sep 30, 2024
@Pierre-Sassoulas Pierre-Sassoulas merged commit 8620ae1 into pylint-dev:main Sep 30, 2024
21 checks passed
@nickdrozd nickdrozd deleted the design-checks branch October 7, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining astroid or the dev workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants