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

ENH: Adopt the NiPreps author update maintenance script #167

Merged

Conversation

jhlegarreta
Copy link
Collaborator

Adopt the NiPreps author update maintenance script:

  • Remove the paper_author_list.py and update_zenodo.py modules, which are superseded by the contributed script.
  • Make the update_authors.py comply with ruff: format the file style, rename ambiguous local variables and refactor the sort_contributors method to reduce its complexity.

Fixes:

.maint/update_authors.py:57:5: C901 `sort_contributors` is too complex (11 > 10)
.maint/update_authors.py:117:24: E741 Ambiguous variable name: `l`

Closes #163.

Adopt the NiPreps author update maintenance script:
- Remove the `paper_author_list.py` and `update_zenodo.py` modules,
  which are superseded by the contributed script.
- Make the `update_authors.py` comply with `ruff`: format the file
  style, rename ambiguous local variables and refactor the
  `sort_contributors` method to reduce its complexity.

Fixes:
```
.maint/update_authors.py:57:5: C901 `sort_contributors` is too complex (11 > 10)
.maint/update_authors.py:117:24: E741 Ambiguous variable name: `l`
```
@oesteban oesteban merged commit b1f70cc into nipreps:main Apr 16, 2024
7 checks passed
@jhlegarreta jhlegarreta deleted the AdoptNiprepsMaintenanceAuthorScript branch April 16, 2024 13:59
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