mirror of
https://github.com/Automattic/harper.git
synced 2025-12-23 08:48:15 +00:00
* feat(core): Add support for Python docstrings
* Remove unused dependency
* Revert "Remove unused dependency"
This reverts commit 5720b2eced.
* Fix for harper-ls
* Fix handling of multiline strings
* Fix merge artifact
* Formatting fix
* Do not pass quotes for linting
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
22 lines
No EOL
386 B
Python
22 lines
No EOL
386 B
Python
"""Errors should never passs silently"""
|
|
def main():
|
|
"""Beautifull is better than ugly."""
|
|
|
|
|
|
class Main:
|
|
"""Explicit is better than implicet."""
|
|
|
|
def __init__(self):
|
|
"""Flat is bettter than nested."""
|
|
pass
|
|
|
|
|
|
|
|
def multiline_docstring(action_name: str):
|
|
"""Perform the specified action.
|
|
|
|
Available actions:
|
|
- stop
|
|
- start
|
|
- pause
|
|
""" |