File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ repos:
1919 - id : sphinx-lint
2020 types : [rst]
2121 - repo : https://github.com/pycqa/isort
22- rev : 5.13.2
22+ rev : 6.0.0
2323 hooks :
2424 - id : isort
2525 additional_dependencies : ["toml"]
2626 entry : isort --profile=black
2727 name : isort (python)
2828 - repo : https://github.com/psf/black
29- rev : 24.10 .0
29+ rev : 25.1 .0
3030 hooks :
3131 - id : black
3232 - repo : https://github.com/adamchainz/blacken-docs
3737 additional_dependencies :
3838 - black
3939 - repo : https://github.com/codespell-project/codespell
40- rev : v2.4.0
40+ rev : v2.4.1
4141 hooks :
4242 - id : codespell
4343 - repo : local
Original file line number Diff line number Diff line change 11"""Reads a file or stdin and returns the number of lines, words and characters –
2- similar to the UNIX wc utility."""
2+ similar to the UNIX wc utility."""
33
44import sys
55
Original file line number Diff line number Diff line change 44The processing of character strings is one of Python’s strengths. There are many
55options for limiting character strings:
66
7+ .. blacken-docs:off
8+
79 .. code-block :: python
810
911 " A string in double quotes can contain 'single quotes'."
@@ -12,6 +14,8 @@ options for limiting character strings:
1214 """ This is a string in triple double quotes, the only string that contains
1315 real line breaks."""
1416
17+ .. blacken-docs:on
18+
1519 Character strings can be characterised by single (``' ' ``), double(``" " ``),
1620triple single (``''' ''' ``) or triple double (``""" """ ``) quotation marks.
1721
You can’t perform that action at this time.
0 commit comments