flowmark 0.4.3__tar.gz → 0.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {flowmark-0.4.3 → flowmark-0.4.4}/PKG-INFO +1 -1
  2. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/text_wrapping.py +1 -1
  3. {flowmark-0.4.3 → flowmark-0.4.4}/tests/test_wrapping.py +2 -2
  4. {flowmark-0.4.3 → flowmark-0.4.4}/tests/testdocs/testdoc.orig.md +2 -0
  5. {flowmark-0.4.3 → flowmark-0.4.4}/tests/testdocs/testdoc.out.cleaned.md +5 -0
  6. {flowmark-0.4.3 → flowmark-0.4.4}/tests/testdocs/testdoc.out.plain.md +5 -0
  7. {flowmark-0.4.3 → flowmark-0.4.4}/tests/testdocs/testdoc.out.semantic.md +5 -0
  8. {flowmark-0.4.3 → flowmark-0.4.4}/.copier-answers.yml +0 -0
  9. {flowmark-0.4.3 → flowmark-0.4.4}/.github/workflows/ci.yml +0 -0
  10. {flowmark-0.4.3 → flowmark-0.4.4}/.github/workflows/publish.yml +0 -0
  11. {flowmark-0.4.3 → flowmark-0.4.4}/.gitignore +0 -0
  12. {flowmark-0.4.3 → flowmark-0.4.4}/LICENSE +0 -0
  13. {flowmark-0.4.3 → flowmark-0.4.4}/Makefile +0 -0
  14. {flowmark-0.4.3 → flowmark-0.4.4}/README.md +0 -0
  15. {flowmark-0.4.3 → flowmark-0.4.4}/development.md +0 -0
  16. {flowmark-0.4.3 → flowmark-0.4.4}/devtools/lint.py +0 -0
  17. {flowmark-0.4.3 → flowmark-0.4.4}/installation.md +0 -0
  18. {flowmark-0.4.3 → flowmark-0.4.4}/poetry.lock +0 -0
  19. {flowmark-0.4.3 → flowmark-0.4.4}/publishing.md +0 -0
  20. {flowmark-0.4.3 → flowmark-0.4.4}/pyproject.toml +0 -0
  21. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/__init__.py +0 -0
  22. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/cleanups.py +0 -0
  23. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/cli.py +0 -0
  24. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/custom_marko.py +0 -0
  25. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/frontmatter.py +0 -0
  26. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/line_wrappers.py +0 -0
  27. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/markdown_filling.py +0 -0
  28. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/py.typed +0 -0
  29. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/reformat_api.py +0 -0
  30. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/sentence_split_regex.py +0 -0
  31. {flowmark-0.4.3 → flowmark-0.4.4}/src/flowmark/text_filling.py +0 -0
  32. {flowmark-0.4.3 → flowmark-0.4.4}/tests/test_cleanups.py +0 -0
  33. {flowmark-0.4.3 → flowmark-0.4.4}/tests/test_filling.py +0 -0
  34. {flowmark-0.4.3 → flowmark-0.4.4}/tests/test_frontmatter.py +0 -0
  35. {flowmark-0.4.3 → flowmark-0.4.4}/tests/test_ref_docs.py +0 -0
  36. {flowmark-0.4.3 → flowmark-0.4.4}/tests/test_sentences.py +0 -0
  37. {flowmark-0.4.3 → flowmark-0.4.4}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flowmark
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Better line wrapping and formatting for plaintext and Markdown
5
5
  Project-URL: Repository, https://github.com/jlevy/flowmark
6
6
  Author-email: Joshua Levy <joshua@cal.berkeley.edu>
@@ -74,7 +74,7 @@ Split words, but not within HTML tags or Markdown links.
74
74
  # Pattern to identify words that need escaping if they start a wrapped markdown line.
75
75
  # Matches list markers (*, +, -) bare or before a space (but not before a letter for
76
76
  # example), blockquotes (> ), headings (#, ##, etc.).
77
- _md_specials_pat = re.compile(r"^[-*+](?: |$)|> |#+$")
77
+ _md_specials_pat = re.compile(r"^([-*+>]|#+)$")
78
78
 
79
79
  # Separate pattern to specifically find the numbered list cases for targeted escaping
80
80
  _md_numeral_pat = re.compile(r"^[0-9]+[.)]$")
@@ -15,7 +15,7 @@ def test_markdown_escape_word_function() -> None:
15
15
  assert markdown_escape_word("-") == "\\-"
16
16
  assert markdown_escape_word("+") == "\\+"
17
17
  assert markdown_escape_word("*") == "\\*"
18
- assert markdown_escape_word(">") == ">"
18
+ assert markdown_escape_word(">") == "\\>"
19
19
  assert markdown_escape_word("#") == "\\#"
20
20
  assert markdown_escape_word("##") == "\\##"
21
21
  assert markdown_escape_word("1.") == "1\\."
@@ -52,7 +52,7 @@ def test_wrap_paragraph_lines_markdown_escaping():
52
52
  "word",
53
53
  "\\+",
54
54
  "word",
55
- ">",
55
+ "\\>",
56
56
  "word",
57
57
  "\\#",
58
58
  "word",
@@ -546,6 +546,8 @@ And people often put them before punctuation like this[^a], or this[^a]. Or even
546
546
 
547
547
  ❗️️️ Having multiple automatic conversion thresholds can give the investor with a higher threshold leverage to block an IPO.[^210]
548
548
 
549
+ 1. **Initial Scan with -X importtime:** Run the application with python -X importtime... > import.log. Visualize the output using tuna import.log.<sup>42</sup> Look for modules with large *cumulative* times at the top level or deep in the call stack. These are the primary candidates for further investigation.<sup>1</sup>
550
+
549
551
  [^2]: Aulet, Bill. *Disciplined Entrepreneurship*: 24 Steps to a Successful Startup (Kindle Location 1220). Wiley, 2013. Kindle Edition.
550
552
 
551
553
  [^191]: http://paulgraham.com/fr.html
@@ -867,6 +867,11 @@ not complaining)[^urbanthowt.wy49lp].
867
867
  ❗️️️ Having multiple automatic conversion thresholds can give the investor with a higher
868
868
  threshold leverage to block an IPO.[^210]
869
869
 
870
+ 1. **Initial Scan with -X importtime:** Run the application with python -X importtime...
871
+ \> import.log. Visualize the output using tuna import.log.<sup>42</sup> Look for
872
+ modules with large *cumulative* times at the top level or deep in the call stack.
873
+ These are the primary candidates for further investigation.<sup>1</sup>
874
+
870
875
  [^2]: Aulet, Bill. *Disciplined Entrepreneurship*: 24 Steps to a Successful Startup (Kindle
871
876
  Location 1220). Wiley, 2013. Kindle Edition.
872
877
 
@@ -829,6 +829,11 @@ not complaining)[^urbanthowt.wy49lp].
829
829
  ❗️️️ Having multiple automatic conversion thresholds can give the investor with a higher
830
830
  threshold leverage to block an IPO.[^210]
831
831
 
832
+ 1. **Initial Scan with -X importtime:** Run the application with python -X importtime...
833
+ \> import.log. Visualize the output using tuna import.log.<sup>42</sup> Look for
834
+ modules with large *cumulative* times at the top level or deep in the call stack.
835
+ These are the primary candidates for further investigation.<sup>1</sup>
836
+
832
837
  [^2]: Aulet, Bill. *Disciplined Entrepreneurship*: 24 Steps to a Successful Startup
833
838
  (Kindle Location 1220). Wiley, 2013. Kindle Edition.
834
839
 
@@ -867,6 +867,11 @@ not complaining)[^urbanthowt.wy49lp].
867
867
  ❗️️️ Having multiple automatic conversion thresholds can give the investor with a higher
868
868
  threshold leverage to block an IPO.[^210]
869
869
 
870
+ 1. **Initial Scan with -X importtime:** Run the application with python -X importtime...
871
+ \> import.log. Visualize the output using tuna import.log.<sup>42</sup> Look for
872
+ modules with large *cumulative* times at the top level or deep in the call stack.
873
+ These are the primary candidates for further investigation.<sup>1</sup>
874
+
870
875
  [^2]: Aulet, Bill. *Disciplined Entrepreneurship*: 24 Steps to a Successful Startup (Kindle
871
876
  Location 1220). Wiley, 2013. Kindle Edition.
872
877
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes