Skip to content

Commit

Permalink
Change the rewrap limit for the typical case (comments, where length<…
Browse files Browse the repository at this point in the history
…=72 is preferred in PEP8) and set the editor's builtin GUI-only (visual) wrapping to the atypical use case (code, where length <=79 is required by PEP8; atypical since usually wrapped manually).
  • Loading branch information
Poikilos committed Apr 5, 2024
1 parent 44250f8 commit 84a977a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python-openlcb.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
}
],
"settings": {
"rewrap.wrappingColumn": 79,
"rewrap.wrappingColumn": 72,
"autoDocstring.docstringFormat": "google",
"flake8.args": [
"--ignore=E203,E226,E701,E202,E222,E221,W503,E241"
],
"ruff.lint.args": [
"--ignore=E701"
]
],
"editor.wordWrapColumn": 79
}
}

0 comments on commit 84a977a

Please sign in to comment.