Fix pep8-naming (N) convention warnings across codebase
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by reading the Ruff configuration to find files excluded from the pep8-naming (N) checks. Then review the listed N### warnings in those files and address the naming violations. The work is done when the violations are fixed and the files are removed from the exclusion list.
Written by the indexing model from the issue text.
Description
This is a parent issue for fixing pep8-naming (N) convention warnings that are currently excluded from ruff linting checks.
PR #1659 enables the pep8-naming (N) ruleset in ruff, but several files have been excluded from these checks due to naming convention violations. Each excluded file needs to be updated to fix the N### warnings and then removed from the exclusion list.
Related issue: #1329
The N### error codes are:
- N801: Invalid class name
- N802: Invalid function name
- N803: Invalid argument name
- N805: Invalid constant name (e.g. should be a module constant)
- N806: Invalid variable name
- N811: Constant name imported as non constant
- N812: Lowercase attribute name
- N814: Camel case argument name
- N818: Exception name should inherit from Exception
- Dominant language
- Python
- Stars
- 17
- Forks
- 8
- Avg merge
- 7d 12h
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fitbenchmarking/fitbenchmarking
-
keep-for-CCMI-project-students
Difficulty 1/5 Under an hour Newbie friendliness 72/100
fitbenchmarking/fitbenchmarking#1834 ·
Maintainers usually reply within 1 day
-
Fix misspelled minimzer variable names across the codebasePossibly taken @ducanhnguyen223 claimed this 19 days ago. Openkeep-for-CCMI-project-students
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
fitbenchmarking/fitbenchmarking#1821 ·
Maintainers usually reply within 1 day
-
Improve error message when a section name is misspelled in the options filePossibly taken @ducanhnguyen223 claimed this 21 days ago. Openkeep-for-CCMI-project-students
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
fitbenchmarking/fitbenchmarking#1820 ·
Maintainers usually reply within 1 day
-
Add tests for untested functions in plots.pyPossibly taken @avelavan claimed this 4 days ago. Openkeep-for-CCMI-project-students Testing
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
fitbenchmarking/fitbenchmarking#1807 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
fitbenchmarking/fitbenchmarking#1782 ·
Maintainers usually reply within 1 day
All issues in fitbenchmarking/fitbenchmarking
Similar issues
-
eegprep-lean: set channel types from the Zarr group's channel_typePossibly taken @claude claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
sccn/eegprep#668 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
blacklanternsecurity/bbot#3679 ·
Maintainers usually reply within 2 days
-
Link Checker ReportOpenBot Type: Bug Type: Documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day