[SERVER-48111] Format Python with Black Created: 11/May/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ryan Timmons Assignee: Backlog - Server Tooling and Methods (STM) (Inactive)
Resolution: Unresolved Votes: 0
Labels: happy_family, tig-resmoke
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Tooling & Methods
Participants:
Story Points: 3

 Description   
  • Kill yapf in favor of black. Replace the YapfLinter class with a BlackLinter
  • Disable or change any pylint checks that fail as a result.
  • Consider relaxing a number of pydocstyle checks which tend to result in useless comments being added to appease the linter.
    • D103: Missing docstring in public function
    • D107: Missing docstring in _init_
    • D100: Missing docstring in public module
    • D101: Missing docstring in public class
    • D200: One-line docstring should fit on one line with quotes


 Comments   
Comment by Steven Vannelli [ 10/May/22 ]

Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions.

Comment by Brooke Miller [ 12/May/20 ]

Additional requirement: Check if Black has a programatic interface and if it can be used to format scons files

Generated at Thu Feb 08 05:16:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.