txt2ebook 0.1.147__tar.gz → 0.1.148__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 (109) hide show
  1. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/PKG-INFO +19 -19
  2. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/pyproject.toml +4 -4
  3. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po +6 -6
  4. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/locales/txt2ebook.pot +6 -6
  5. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po +6 -6
  6. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.po +6 -6
  7. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/massage.py +0 -3
  8. txt2ebook-0.1.147/.coveragerc +0 -18
  9. txt2ebook-0.1.147/.gitignore +0 -150
  10. txt2ebook-0.1.147/.pre-commit-config.yaml +0 -52
  11. txt2ebook-0.1.147/.python-version +0 -5
  12. txt2ebook-0.1.147/CHANGELOG.md +0 -1102
  13. txt2ebook-0.1.147/CONTRIBUTING.md +0 -124
  14. txt2ebook-0.1.147/docs/Makefile +0 -24
  15. txt2ebook-0.1.147/docs/make.bat +0 -35
  16. txt2ebook-0.1.147/docs/source/CHANGELOG.md +0 -1
  17. txt2ebook-0.1.147/docs/source/CONTRIBUTING.md +0 -1
  18. txt2ebook-0.1.147/docs/source/LICENSE.md +0 -1
  19. txt2ebook-0.1.147/docs/source/README.md +0 -1
  20. txt2ebook-0.1.147/docs/source/_static/logo.png +0 -0
  21. txt2ebook-0.1.147/docs/source/conf.py +0 -77
  22. txt2ebook-0.1.147/docs/source/index.rst +0 -11
  23. txt2ebook-0.1.147/docs/source/txt2ebook.formats.rst +0 -29
  24. txt2ebook-0.1.147/docs/source/txt2ebook.helpers.rst +0 -10
  25. txt2ebook-0.1.147/docs/source/txt2ebook.models.rst +0 -37
  26. txt2ebook-0.1.147/docs/source/txt2ebook.parsers.rst +0 -45
  27. txt2ebook-0.1.147/docs/source/txt2ebook.rst +0 -32
  28. txt2ebook-0.1.147/noxfile.py +0 -258
  29. txt2ebook-0.1.147/tests/__init__.py +0 -0
  30. txt2ebook-0.1.147/tests/conftest.py +0 -82
  31. txt2ebook-0.1.147/tests/fixtures/empty_file.txt +0 -0
  32. txt2ebook-0.1.147/tests/fixtures/missing_chapters.txt +0 -6
  33. txt2ebook-0.1.147/tests/fixtures/sample.txt +0 -37
  34. txt2ebook-0.1.147/tests/fixtures/sample_all_headers.txt +0 -31
  35. txt2ebook-0.1.147/tests/fixtures/sample_long_headers.txt +0 -35
  36. txt2ebook-0.1.147/tests/fixtures/sample_remove_wrapping.txt +0 -52
  37. txt2ebook-0.1.147/tests/fixtures/sample_unsorted_headers.txt +0 -33
  38. txt2ebook-0.1.147/tests/fixtures/sample_with_issues.txt +0 -15
  39. txt2ebook-0.1.147/tests/fixtures/sample_with_metadata.txt +0 -25
  40. txt2ebook-0.1.147/tests/test_filename_format_flag.py +0 -34
  41. txt2ebook-0.1.147/tests/test_format_option.py +0 -48
  42. txt2ebook-0.1.147/tests/test_header_number_flag.py +0 -33
  43. txt2ebook-0.1.147/tests/test_input_file_arg.py +0 -15
  44. txt2ebook-0.1.147/tests/test_language_option.py +0 -20
  45. txt2ebook-0.1.147/tests/test_output_file_arg.py +0 -21
  46. txt2ebook-0.1.147/tests/test_overwrite_flag.py +0 -10
  47. txt2ebook-0.1.147/tests/test_parser.py +0 -81
  48. txt2ebook-0.1.147/tests/test_purge_flag.py +0 -36
  49. txt2ebook-0.1.147/tests/test_quiet_flag.py +0 -11
  50. txt2ebook-0.1.147/tests/test_raise_warnings.py +0 -11
  51. txt2ebook-0.1.147/tests/test_sort_volume_and_chapter_flag.py +0 -31
  52. txt2ebook-0.1.147/tests/test_split_volume_and_chapter_flag.py +0 -38
  53. txt2ebook-0.1.147/tests/test_subcommand_env.py +0 -10
  54. txt2ebook-0.1.147/tests/test_subcommand_epub.py +0 -33
  55. txt2ebook-0.1.147/tests/test_subcommand_massage.py +0 -125
  56. txt2ebook-0.1.147/tests/test_test_parsing_flag.py +0 -15
  57. txt2ebook-0.1.147/tests/test_tokenizer.py +0 -114
  58. txt2ebook-0.1.147/tests/test_translator_option.py +0 -17
  59. txt2ebook-0.1.147/tests/test_txt2ebook.py +0 -8
  60. txt2ebook-0.1.147/tests/test_verbose_flag.py +0 -79
  61. txt2ebook-0.1.147/tests/test_volume_page_flag.py +0 -10
  62. txt2ebook-0.1.147/tests/test_zh_utils_zh_halfwidth_to_fullwidth.py +0 -8
  63. txt2ebook-0.1.147/tests/test_zh_utils_zh_numeric.py +0 -46
  64. txt2ebook-0.1.147/tests/test_zh_utils_zh_words_to_numbers.py +0 -29
  65. txt2ebook-0.1.147/uv.lock +0 -1824
  66. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/LICENSE.md +0 -0
  67. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/README.md +0 -0
  68. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/__init__.py +0 -0
  69. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/__main__.py +0 -0
  70. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/cli.py +0 -0
  71. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/exceptions.py +0 -0
  72. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/__init__.py +0 -0
  73. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/base.py +0 -0
  74. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/epub.py +0 -0
  75. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/gmi.py +0 -0
  76. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/md.py +0 -0
  77. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/pdf.py +0 -0
  78. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/templates/__init__.py +0 -0
  79. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/templates/epub/__init__.py +0 -0
  80. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/templates/epub/clean.css +0 -0
  81. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/templates/epub/condense.css +0 -0
  82. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/templates/epub/noindent.css +0 -0
  83. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/tex.py +0 -0
  84. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/txt.py +0 -0
  85. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/formats/typ.py +0 -0
  86. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/helpers/__init__.py +0 -0
  87. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/languages/__init__.py +0 -0
  88. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/languages/en.py +0 -0
  89. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/languages/zh_cn.py +0 -0
  90. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/languages/zh_tw.py +0 -0
  91. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/locales/en/LC_MESSAGES/txt2ebook.mo +0 -0
  92. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.mo +0 -0
  93. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.mo +0 -0
  94. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/models/__init__.py +0 -0
  95. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/models/book.py +0 -0
  96. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/models/chapter.py +0 -0
  97. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/models/volume.py +0 -0
  98. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/parser.py +0 -0
  99. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/__init__.py +0 -0
  100. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/env.py +0 -0
  101. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/epub.py +0 -0
  102. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/gmi.py +0 -0
  103. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/md.py +0 -0
  104. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/parse.py +0 -0
  105. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/pdf.py +0 -0
  106. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/tex.py +0 -0
  107. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/subcommands/typ.py +0 -0
  108. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/tokenizer.py +0 -0
  109. {txt2ebook-0.1.147 → txt2ebook-0.1.148}/src/txt2ebook/zh_utils.py +0 -0
@@ -1,13 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: txt2ebook
3
- Version: 0.1.147
3
+ Version: 0.1.148
4
4
  Summary: CLI tool to convert txt file to ebook format
5
- Project-URL: Homepage, https://github.com/kianmeng/txt2ebook
6
- Project-URL: Repository, https://github.com/kianmeng/txt2ebook
7
- Author-email: Kian-Meng Ang <kianmeng@cpan.org>
8
- License-Expression: AGPL-3.0-or-later
9
- License-File: LICENSE.md
10
5
  Keywords: cjk,ebook,epub,gmi,latex,md,pdf,txt,typst
6
+ Author-email: Kian-Meng Ang <kianmeng@cpan.org>
7
+ Requires-Python: ~=3.9
8
+ Description-Content-Type: text/markdown
11
9
  Classifier: Development Status :: 4 - Beta
12
10
  Classifier: Environment :: Console
13
11
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
@@ -25,21 +23,22 @@ Classifier: Topic :: Text Processing :: Filters
25
23
  Classifier: Topic :: Text Processing :: General
26
24
  Classifier: Topic :: Text Processing :: Markup :: HTML
27
25
  Classifier: Topic :: Text Processing :: Markup :: Markdown
28
- Requires-Python: ~=3.9
29
- Requires-Dist: bs4<0.0.2,>=0.0.1
30
- Requires-Dist: cjkwrap~=2.2
31
- Requires-Dist: ebooklib<0.18,>=0.17.1
32
- Requires-Dist: importlib-resources<7,>=6.1.1
33
- Requires-Dist: jieba<0.43,>=0.42.1
34
- Requires-Dist: langdetect<2,>=1.0.9
35
- Requires-Dist: lxml<6,>=5.2.2
36
- Requires-Dist: pylatex<2,>=1.4.2
26
+ License-File: LICENSE.md
27
+ Requires-Dist: CJKwrap~=2.2
28
+ Requires-Dist: EbookLib>=0.17.1,<0.18
29
+ Requires-Dist: bs4>=0.0.1,<0.0.2
30
+ Requires-Dist: importlib-resources>=6.1.1,<7
31
+ Requires-Dist: jieba>=0.42.1,<0.43
32
+ Requires-Dist: langdetect>=1.0.9,<2
33
+ Requires-Dist: lxml>=5.2.2,<6
34
+ Requires-Dist: pylatex>=1.4.2,<2
37
35
  Requires-Dist: pypandoc~=1.11
38
- Requires-Dist: regex<2022,>=2021.11.10
39
- Requires-Dist: reportlab<5,>=4.0.0
40
- Requires-Dist: typing-extensions<5,>=4.5.0
36
+ Requires-Dist: regex>=2021.11.10,<2022
37
+ Requires-Dist: reportlab>=4.0.0,<5
38
+ Requires-Dist: typing-extensions>=4.5.0,<5
41
39
  Requires-Dist: typst>=0.13.0
42
- Description-Content-Type: text/markdown
40
+ Project-URL: Homepage, https://github.com/kianmeng/txt2ebook
41
+ Project-URL: Repository, https://github.com/kianmeng/txt2ebook
43
42
 
44
43
  # txt2ebook
45
44
 
@@ -151,3 +150,4 @@ The fish logo used in the documentation generated by Sphinx is a public domain
151
150
  drawing of Troschel's parrotfish (Chlorurus troschelii Var. A.) from
152
151
  <https://commons.wikimedia.org/entity/M18506436>.
153
152
  18506436>.
153
+
@@ -1,11 +1,11 @@
1
1
  [project]
2
2
  name = "txt2ebook"
3
- version = "0.1.147"
3
+ version = "0.1.148"
4
4
  description = "CLI tool to convert txt file to ebook format"
5
5
  authors = [{ name = "Kian-Meng Ang", email = "kianmeng@cpan.org" }]
6
6
  requires-python = "~=3.9"
7
7
  readme = "README.md"
8
- license = "AGPL-3.0-or-later"
8
+ license = {file = "LICENSE.md"}
9
9
  keywords = [
10
10
  "cjk",
11
11
  "ebook",
@@ -84,5 +84,5 @@ dev = [
84
84
  ]
85
85
 
86
86
  [build-system]
87
- requires = ["hatchling"]
88
- build-backend = "hatchling.build"
87
+ requires = ["flit_core"]
88
+ build-backend = "flit_core.buildapi"
@@ -1,26 +1,26 @@
1
- #: src/txt2ebook/formats/base.py:137
1
+ #: src/txt2ebook/formats/base.py:139
2
2
  msgid "title:"
3
3
  msgstr "Title:"
4
4
 
5
- #: src/txt2ebook/formats/base.py:138
5
+ #: src/txt2ebook/formats/base.py:140
6
6
  msgid "author:"
7
7
  msgstr "Author:"
8
8
 
9
- #: src/txt2ebook/formats/base.py:139
9
+ #: src/txt2ebook/formats/base.py:141
10
10
  msgid "translator:"
11
11
  msgstr "Translator:"
12
12
 
13
- #: src/txt2ebook/formats/base.py:140
13
+ #: src/txt2ebook/formats/base.py:142
14
14
  msgid "tag:"
15
15
  msgstr "Tag:"
16
16
 
17
- #: src/txt2ebook/formats/base.py:146 src/txt2ebook/formats/gmi.py:62
17
+ #: src/txt2ebook/formats/base.py:153 src/txt2ebook/formats/gmi.py:62
18
18
  #: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:130
19
19
  #: src/txt2ebook/formats/txt.py:71
20
20
  msgid "toc"
21
21
  msgstr "Table of Content"
22
22
 
23
- #: src/txt2ebook/formats/epub.py:141
23
+ #: src/txt2ebook/formats/epub.py:147
24
24
  msgid "cover"
25
25
  msgstr "Cover"
26
26
 
@@ -1,26 +1,26 @@
1
- #: src/txt2ebook/formats/base.py:137
1
+ #: src/txt2ebook/formats/base.py:139
2
2
  msgid "title:"
3
3
  msgstr ""
4
4
 
5
- #: src/txt2ebook/formats/base.py:138
5
+ #: src/txt2ebook/formats/base.py:140
6
6
  msgid "author:"
7
7
  msgstr ""
8
8
 
9
- #: src/txt2ebook/formats/base.py:139
9
+ #: src/txt2ebook/formats/base.py:141
10
10
  msgid "translator:"
11
11
  msgstr ""
12
12
 
13
- #: src/txt2ebook/formats/base.py:140
13
+ #: src/txt2ebook/formats/base.py:142
14
14
  msgid "tag:"
15
15
  msgstr ""
16
16
 
17
- #: src/txt2ebook/formats/base.py:146 src/txt2ebook/formats/gmi.py:62
17
+ #: src/txt2ebook/formats/base.py:153 src/txt2ebook/formats/gmi.py:62
18
18
  #: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:130
19
19
  #: src/txt2ebook/formats/txt.py:71
20
20
  msgid "toc"
21
21
  msgstr ""
22
22
 
23
- #: src/txt2ebook/formats/epub.py:141
23
+ #: src/txt2ebook/formats/epub.py:147
24
24
  msgid "cover"
25
25
  msgstr ""
26
26
 
@@ -1,26 +1,26 @@
1
- #: src/txt2ebook/formats/base.py:137
1
+ #: src/txt2ebook/formats/base.py:139
2
2
  msgid "title:"
3
3
  msgstr "书名:"
4
4
 
5
- #: src/txt2ebook/formats/base.py:138
5
+ #: src/txt2ebook/formats/base.py:140
6
6
  msgid "author:"
7
7
  msgstr "作者:"
8
8
 
9
- #: src/txt2ebook/formats/base.py:139
9
+ #: src/txt2ebook/formats/base.py:141
10
10
  msgid "translator:"
11
11
  msgstr "翻译:"
12
12
 
13
- #: src/txt2ebook/formats/base.py:140
13
+ #: src/txt2ebook/formats/base.py:142
14
14
  msgid "tag:"
15
15
  msgstr "票签:"
16
16
 
17
- #: src/txt2ebook/formats/base.py:146 src/txt2ebook/formats/gmi.py:62
17
+ #: src/txt2ebook/formats/base.py:153 src/txt2ebook/formats/gmi.py:62
18
18
  #: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:130
19
19
  #: src/txt2ebook/formats/txt.py:71
20
20
  msgid "toc"
21
21
  msgstr "目录"
22
22
 
23
- #: src/txt2ebook/formats/epub.py:141
23
+ #: src/txt2ebook/formats/epub.py:147
24
24
  msgid "cover"
25
25
  msgstr "封面"
26
26
 
@@ -1,26 +1,26 @@
1
- #: src/txt2ebook/formats/base.py:137
1
+ #: src/txt2ebook/formats/base.py:139
2
2
  msgid "title:"
3
3
  msgstr "书名:"
4
4
 
5
- #: src/txt2ebook/formats/base.py:138
5
+ #: src/txt2ebook/formats/base.py:140
6
6
  msgid "author:"
7
7
  msgstr "作者:"
8
8
 
9
- #: src/txt2ebook/formats/base.py:139
9
+ #: src/txt2ebook/formats/base.py:141
10
10
  msgid "translator:"
11
11
  msgstr "翻译:"
12
12
 
13
- #: src/txt2ebook/formats/base.py:140
13
+ #: src/txt2ebook/formats/base.py:142
14
14
  msgid "tag:"
15
15
  msgstr "标签:"
16
16
 
17
- #: src/txt2ebook/formats/base.py:146 src/txt2ebook/formats/gmi.py:62
17
+ #: src/txt2ebook/formats/base.py:153 src/txt2ebook/formats/gmi.py:62
18
18
  #: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:130
19
19
  #: src/txt2ebook/formats/txt.py:71
20
20
  msgid "toc"
21
21
  msgstr "目录"
22
22
 
23
- #: src/txt2ebook/formats/epub.py:141
23
+ #: src/txt2ebook/formats/epub.py:147
24
24
  msgid "cover"
25
25
  msgstr "封面"
26
26
 
@@ -25,11 +25,8 @@ import cjkwrap
25
25
  import regex as re
26
26
  from bs4 import UnicodeDammit
27
27
 
28
- from txt2ebook import detect_and_expect_language
29
28
  from txt2ebook.exceptions import EmptyFileError
30
- from txt2ebook.formats.txt import TxtWriter
31
29
  from txt2ebook.models.book import Book
32
- from txt2ebook.parser import Parser
33
30
  from txt2ebook.zh_utils import zh_halfwidth_to_fullwidth, zh_words_to_numbers
34
31
 
35
32
  logger = logging.getLogger(__name__)
@@ -1,18 +0,0 @@
1
- [run]
2
- parallel = true
3
- sigterm = true
4
- source = txt2ebook
5
- omit =
6
- */src/txt2ebook/__main__.py
7
-
8
- [report]
9
- fail_under = 100
10
- ignore_errors = True
11
- show_missing = True
12
- skip_covered = True
13
- sort = Cover
14
- exclude_also =
15
- def __repr__
16
-
17
- [html]
18
- directory = cover
@@ -1,150 +0,0 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
- MANIFEST
28
-
29
- # PyInstaller
30
- # Usually these files are written by a python script from a template
31
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
- *.manifest
33
- *.spec
34
-
35
- # Installer logs
36
- pip-log.txt
37
- pip-delete-this-directory.txt
38
-
39
- # Unit test / coverage reports
40
- htmlcov/
41
- .tox/
42
- .nox/
43
- .coverage
44
- .coverage.*
45
- .cache
46
- nosetests.xml
47
- coverage.xml
48
- *.cover
49
- *.py,cover
50
- .hypothesis/
51
- .pytest_cache/
52
- cover/
53
-
54
- # Translations
55
- # *.mo
56
- # *.pot
57
-
58
- # Created by msgmerge
59
- *.po~
60
-
61
- # Django stuff:
62
- *.log
63
- local_settings.py
64
- db.sqlite3
65
- db.sqlite3-journal
66
-
67
- # Flask stuff:
68
- instance/
69
- .webassets-cache
70
-
71
- # Scrapy stuff:
72
- .scrapy
73
-
74
- # Sphinx documentation
75
- docs/_build/
76
-
77
- # PyBuilder
78
- .pybuilder/
79
- target/
80
-
81
- # Jupyter Notebook
82
- .ipynb_checkpoints
83
-
84
- # IPython
85
- profile_default/
86
- ipython_config.py
87
-
88
- # pyenv
89
- #.python-version
90
-
91
- # pipenv
92
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
- # install all needed dependencies.
96
- #Pipfile.lock
97
-
98
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow
99
- __pypackages__/
100
-
101
- # Celery stuff
102
- celerybeat-schedule
103
- celerybeat.pid
104
-
105
- # SageMath parsed files
106
- *.sage.py
107
-
108
- # Environments
109
- .env
110
- .venv
111
- env/
112
- venv/
113
- ENV/
114
- env.bak/
115
- venv.bak/
116
-
117
- # Spyder project settings
118
- .spyderproject
119
- .spyproject
120
-
121
- # Rope project settings
122
- .ropeproject
123
-
124
- # mkdocs documentation
125
- /site
126
-
127
- # mypy
128
- .mypy_cache/
129
- mypy/
130
- .dmypy.json
131
- dmypy.json
132
-
133
- # Pyre type checker
134
- .pyre/
135
-
136
- # pytype static type analyzer
137
- .pytype/
138
-
139
- # Cython debug symbols
140
- cython_debug/
141
-
142
- # Misc.
143
- *.bak.txt
144
- *.epub
145
- *.lprof
146
- *.pdf
147
- *.prof
148
- *.sqlite3
149
- .aider*
150
- TODO
@@ -1,52 +0,0 @@
1
- # See https://pre-commit.com for more information
2
- # See https://pre-commit.com/hooks.html for more hooks
3
- repos:
4
- - repo: https://github.com/pre-commit/pre-commit-hooks
5
- rev: v5.0.0
6
- hooks:
7
- - id: check-case-conflict
8
- - id: check-merge-conflict
9
- - id: check-toml
10
- - id: check-yaml
11
- - id: debug-statements
12
- - id: detect-private-key
13
- - id: end-of-file-fixer
14
- exclude: "locales/.*$"
15
- - id: mixed-line-ending
16
- - id: trailing-whitespace
17
-
18
- - repo: https://github.com/abravalheri/validate-pyproject
19
- rev: v0.24.1
20
- hooks:
21
- - id: validate-pyproject
22
- name: validate pyproject
23
-
24
- - repo: https://github.com/codespell-project/codespell
25
- rev: v2.4.1
26
- hooks:
27
- - id: codespell
28
- args:
29
- - --skip=uv.lock
30
-
31
- - repo: https://github.com/pre-commit/mirrors-prettier
32
- rev: v4.0.0-alpha.8
33
- hooks:
34
- - id: prettier
35
- exclude: (poetry.lock)
36
-
37
- - repo: https://github.com/astral-sh/ruff-pre-commit
38
- rev: v0.12.2
39
- hooks:
40
- - id: ruff-check
41
- args:
42
- - --fix
43
- - --exit-non-zero-on-fix
44
- - id: ruff-format
45
- args:
46
- - --line-length=79
47
-
48
- - repo: https://github.com/pre-commit/mirrors-mypy
49
- rev: v1.16.1
50
- hooks:
51
- - id: mypy
52
- exclude: docs/
@@ -1,5 +0,0 @@
1
- 3.9
2
- 3.10
3
- 3.11
4
- 3.12
5
- 3.13