Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 12, 2024
1 parent df0f815 commit 9c4de53
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions docopt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* Copyright (c) 2019 itdaniher, itdaniher@gmail.com
"""

from __future__ import annotations

import re
Expand Down
1 change: 1 addition & 0 deletions examples/arguments_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
--right use right-hand side
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/calculator_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
-h, --help
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/config_file_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
quick_example.py -h | --help | --version
"""

from docopt import docopt


Expand Down
1 change: 1 addition & 0 deletions examples/counted_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
counted_example.py this.txt that.txt
"""

from docopt import docopt

print(docopt(__doc__))
1 change: 1 addition & 0 deletions examples/git/git_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
--ignore-missing check if - even missing - files are ignored in dry run
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/git/git_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
--merged=<commit> print only merged branches
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/git/git_checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
-p, --patch select hunks interactively
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/git/git_clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
--depth <depth> create a shallow clone of that depth
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/git/git_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
[default: all]
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/git/git_push.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
--progress force progress reporting
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/git/git_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
-v, --verbose be verbose; must be placed before a subcommand
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/naval_fate.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
--drifting Drifting mine.
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/odd_even_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
-h, --help
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/options_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
--doctest run doctest on myself
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/options_shortcut_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
-q operate in quiet mode
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/quick_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
quick_example.py -h | --help | --version
"""

from docopt import docopt

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions examples/validation_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
--count=N number of operations
"""

import os

from docopt import docopt
Expand Down

0 comments on commit 9c4de53

Please sign in to comment.