Skip to content

format etc/apport/crashdb.conf with black and address pylint#566

Merged
bdrung merged 2 commits intocanonical:mainfrom
bdrung:format-black
Mar 30, 2026
Merged

format etc/apport/crashdb.conf with black and address pylint#566
bdrung merged 2 commits intocanonical:mainfrom
bdrung:format-black

Conversation

@bdrung
Copy link
Copy Markdown
Member

@bdrung bdrung commented Mar 30, 2026

In preparation to adding code to etc/apport/crashdb.conf, format this file with black and address pylint.

bdrung added 2 commits March 30, 2026 14:02
```
black -C etc/apport/crashdb.conf
```
pylint complains about `etc/apport/crashdb.conf`:

```
etc/apport/crashdb.conf:1:0: C0114: Missing module docstring (missing-module-docstring)
etc/apport/crashdb.conf:3:0: C0103: Constant name "default" doesn't conform to UPPER_CASE naming style (invalid-name)
etc/apport/crashdb.conf:5:12: R6101: Consider using namedtuple or dataclass for dictionary values (consider-using-namedtuple-or-dataclass)
```
@bdrung bdrung requested a review from Hyask March 30, 2026 12:14
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.42%. Comparing base (720ef80) to head (479862d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #566   +/-   ##
=======================================
  Coverage   84.42%   84.42%           
=======================================
  Files         104      104           
  Lines       20910    20910           
  Branches     3275     3275           
=======================================
  Hits        17653    17653           
+ Misses       2818     2817    -1     
- Partials      439      440    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@Hyask Hyask left a comment

Choose a reason for hiding this comment

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

black, yes, please, thank you 💚

@bdrung bdrung merged commit 479862d into canonical:main Mar 30, 2026
20 checks passed
@bdrung bdrung deleted the format-black branch March 30, 2026 19:53
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.

2 participants