1+ [build-system ]
2+ requires = [" poetry-core>=1.0.0" ]
3+ build-backend = " poetry.core.masonry.api"
4+
15[tool .poetry ]
26name = " twitter_video_tools"
37description = " Twitter Video Tools is a multi-processing supported video downloader, supports videos from twitter (or specific user from twitter) && monsnode."
4- version = " 0.0.1"
58authors = []
69license = " MIT"
710readme = " README.md"
@@ -24,6 +27,31 @@ classifiers = [
2427 " Typing :: Typed" ,
2528]
2629include = [" LICENSE" ]
30+ version = " 2022.11.17"
31+
32+ [tool .mypy ]
33+ disallow_untyped_defs = true
34+ disallow_any_unimported = true
35+ no_implicit_optional = true
36+ check_untyped_defs = true
37+ warn_return_any = true
38+ show_error_codes = true
39+ warn_unused_ignores = true
40+ python_version = 3.9
41+ disable_error_code = [" no-untyped-call" ]
42+
43+ [tool .pydantic-mypy ]
44+ init_forbid_extra = true
45+ init_typed = true
46+ warn_required_dynamic_aliases = true
47+ warn_untyped_fields = true
48+
49+ [tool .yapf ]
50+ based_on_style = " pep8"
51+ spaces_before_comment = 4
52+ split_before_logical_operator = true
53+ column_limit = 119
54+ allow_split_before_dict_value = false
2755
2856[tool .poetry .dependencies ]
2957python = " ^3.9"
@@ -47,51 +75,19 @@ types-requests = "^2.28.11"
4775types-beautifulsoup4 = " ^4.11.6"
4876types-invoke = " ^1.7.3"
4977
50- [build-system ]
51- requires = [" poetry-core>=1.0.0" ]
52- build-backend = " poetry.core.masonry.api"
53-
54- [tool .mypy ]
55- plugins = [" pydantic.mypy" ]
56- disallow_untyped_defs = true
57- disallow_any_unimported = true
58- no_implicit_optional = true
59- check_untyped_defs = true
60- warn_return_any = true
61- show_error_codes = true
62- warn_unused_ignores = true
63- python_version = 3.9
64- disable_error_code = [
65- " no-untyped-call" ,
66- ] # not all python modules are typed correctly
67-
68- [tool .pydantic-mypy ]
69- init_forbid_extra = true
70- init_typed = true
71- warn_required_dynamic_aliases = true
72- warn_untyped_fields = true
73-
7478[tool .pylint .MASTER ]
75- load-plugins = ' pylint_quotes'
76- persistent = ' yes'
77- suggestion-mode = ' yes'
78- unsafe-load-any-extension = ' yes'
79+ load-plugins = " pylint_quotes"
80+ persistent = " yes"
81+ suggestion-mode = " yes"
82+ unsafe-load-any-extension = " yes"
7983
8084[tool .pylint .format ]
8185max-line-length = 119
8286
83- [tool .pylint .' MESSAGES CONTROL' ]
87+ [tool .pylint ." MESSAGES CONTROL" ]
8488extension-pkg-whitelist = " pydantic"
85- disable = ''' missing-docstring
86- '''
89+ disable = " missing-docstring\n "
8790
8891[tool .pylint .IMPORTS ]
89- allow-any-import-level = ' '
90- allow-wildcard-with-all = ' no'
91-
92- [tool .yapf ]
93- based_on_style = " pep8"
94- spaces_before_comment = 4
95- split_before_logical_operator = true
96- column_limit = 119
97- allow_split_before_dict_value = false # https://github.com/google/yapf/issues/392#issuecomment-407958737
92+ allow-any-import-level = " "
93+ allow-wildcard-with-all = " no"
0 commit comments