Advertisement
Guest User

Untitled

a guest
Oct 7th, 2021
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.87 KB | None | 0 0
  1. ormar on  master via 🐍 v3.9.1
  2. ❯ virtualenv .venv
  3. created virtual environment CPython3.9.1.final.0-64 in 158ms
  4. creator CPython3Posix(dest=/home/s3rius/test/ormar/.venv, clear=False, no_vcs_ignore=False, global=False)
  5. seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/s3rius/.local/share/virtualenv)
  6. added seed packages: pip==21.2.4, setuptools==57.4.0, wheel==0.37.0
  7. activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator
  8.  
  9. ormar on  master via 🐍 v3.9.1
  10. ❯ source .venv/bin/activate
  11.  
  12. ormar on  master via 🐍 v3.9.1 (.venv)
  13. ❯ pip install -r requirements.txt
  14. Collecting databases<0.5.3,>=0.3.2
  15. Using cached databases-0.5.2-py3-none-any.whl (20 kB)
  16. Collecting pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<=1.8.2,>=1.6.1
  17. Using cached pydantic-1.8.2-cp39-cp39-manylinux2014_x86_64.whl (11.3 MB)
  18. Collecting sqlalchemy<1.4.26,>=1.3.18
  19. Using cached SQLAlchemy-1.4.25-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB)
  20. Collecting typing_extensions<3.10.0.3,>=3.7
  21. Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
  22. Collecting orjson
  23. Using cached orjson-3.6.4-cp39-cp39-manylinux_2_24_x86_64.whl (250 kB)
  24. Collecting cryptography
  25. Using cached cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (3.5 MB)
  26. Collecting aiomysql
  27. Using cached aiomysql-0.0.21-py3-none-any.whl (41 kB)
  28. Collecting aiosqlite
  29. Using cached aiosqlite-0.17.0-py3-none-any.whl (15 kB)
  30. Collecting aiopg
  31. Using cached aiopg-1.3.2-py3-none-any.whl (34 kB)
  32. Collecting asyncpg
  33. Using cached asyncpg-0.24.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.4 MB)
  34. Collecting pymysql
  35. Using cached PyMySQL-1.0.2-py3-none-any.whl (43 kB)
  36. Collecting psycopg2-binary
  37. Using cached psycopg2_binary-2.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)
  38. Collecting mysqlclient
  39. Using cached mysqlclient-2.0.3-cp39-cp39-linux_x86_64.whl
  40. Collecting pytest
  41. Using cached pytest-6.2.5-py3-none-any.whl (280 kB)
  42. Collecting pytest-cov
  43. Using cached pytest_cov-3.0.0-py3-none-any.whl (20 kB)
  44. Collecting codecov
  45. Using cached codecov-2.1.12-py2.py3-none-any.whl (16 kB)
  46. Collecting pytest-asyncio
  47. Using cached pytest_asyncio-0.15.1-py3-none-any.whl (12 kB)
  48. Collecting fastapi
  49. Using cached fastapi-0.70.0-py3-none-any.whl (51 kB)
  50. Collecting flake8
  51. Using cached flake8-3.9.2-py2.py3-none-any.whl (73 kB)
  52. Collecting flake8-black
  53. Using cached flake8_black-0.2.3-py3-none-any.whl (8.9 kB)
  54. Collecting flake8-bugbear
  55. Using cached flake8_bugbear-21.9.2-py36.py37.py38-none-any.whl (16 kB)
  56. Collecting flake8-import-order
  57. Using cached flake8_import_order-0.18.1-py2.py3-none-any.whl (15 kB)
  58. Collecting flake8-bandit
  59. Using cached flake8_bandit-2.1.2-py3-none-any.whl
  60. Collecting flake8-annotations
  61. Using cached flake8_annotations-2.6.2-py3-none-any.whl (19 kB)
  62. Collecting flake8-builtins
  63. Using cached flake8_builtins-1.5.3-py2.py3-none-any.whl (12 kB)
  64. Collecting flake8-variables-names
  65. Using cached flake8_variables_names-0.0.4-py3-none-any.whl
  66. Collecting flake8-cognitive-complexity
  67. Using cached flake8_cognitive_complexity-0.1.0-py3-none-any.whl
  68. Collecting flake8-functions
  69. Using cached flake8_functions-0.0.6-py3-none-any.whl (7.0 kB)
  70. Collecting flake8-expression-complexity
  71. Using cached flake8_expression_complexity-0.0.9-py3-none-any.whl
  72. Collecting mypy
  73. Using cached mypy-0.910-cp39-cp39-manylinux2010_x86_64.whl (23.2 MB)
  74. Collecting types-ujson
  75. Using cached types_ujson-0.1.1-py2.py3-none-any.whl (2.0 kB)
  76. Collecting types-PyMySQL
  77. Using cached types_PyMySQL-1.0.2-py3-none-any.whl (12 kB)
  78. Collecting types-ipaddress
  79. Using cached types_ipaddress-1.0.0-py3-none-any.whl (3.0 kB)
  80. Collecting types-enum34
  81. Using cached types_enum34-1.1.0-py3-none-any.whl (2.8 kB)
  82. Collecting types-cryptography
  83. Using cached types_cryptography-3.3.5-py3-none-any.whl (29 kB)
  84. Collecting types-orjson
  85. Using cached types_orjson-3.6.0-py3-none-any.whl (2.2 kB)
  86. Collecting types-aiofiles
  87. Using cached types_aiofiles-0.1.9-py3-none-any.whl (5.1 kB)
  88. Collecting types-pkg_resources
  89. Using cached types_pkg_resources-0.1.3-py2.py3-none-any.whl (4.8 kB)
  90. Collecting types-requests
  91. Using cached types_requests-2.25.9-py3-none-any.whl (22 kB)
  92. Collecting types-toml
  93. Using cached types_toml-0.10.0-py3-none-any.whl (2.1 kB)
  94. Collecting mkdocs
  95. Using cached mkdocs-1.2.2-py3-none-any.whl (6.4 MB)
  96. Collecting mkdocs-material
  97. Using cached mkdocs_material-7.3.2-py2.py3-none-any.whl (4.4 MB)
  98. Collecting mkdocs-material-extensions
  99. Using cached mkdocs_material_extensions-1.0.3-py3-none-any.whl (8.1 kB)
  100. Collecting pydoc-markdown
  101. Using cached pydoc_markdown-4.3.2-py3-none-any.whl (60 kB)
  102. Collecting yappi
  103. Using cached yappi-1.3.3-cp39-cp39-linux_x86_64.whl
  104. Collecting greenlet!=0.4.17
  105. Using cached greenlet-1.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (153 kB)
  106. Collecting cffi>=1.12
  107. Using cached cffi-1.14.6-cp39-cp39-manylinux1_x86_64.whl (405 kB)
  108. Collecting pymysql
  109. Using cached PyMySQL-0.9.3-py2.py3-none-any.whl (47 kB)
  110. Collecting async-timeout<4.0,>=3.0
  111. Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
  112. Collecting iniconfig
  113. Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
  114. Collecting packaging
  115. Using cached packaging-21.0-py3-none-any.whl (40 kB)
  116. Collecting attrs>=19.2.0
  117. Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
  118. Collecting pluggy<2.0,>=0.12
  119. Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
  120. Collecting py>=1.8.2
  121. Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
  122. Collecting toml
  123. Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
  124. Collecting coverage[toml]>=5.2.1
  125. Using cached coverage-6.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (254 kB)
  126. Collecting requests>=2.7.9
  127. Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
  128. Collecting starlette==0.16.0
  129. Using cached starlette-0.16.0-py3-none-any.whl (61 kB)
  130. Collecting anyio<4,>=3.0.0
  131. Using cached anyio-3.3.2-py3-none-any.whl (78 kB)
  132. Collecting pyflakes<2.4.0,>=2.3.0
  133. Using cached pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
  134. Collecting mccabe<0.7.0,>=0.6.0
  135. Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
  136. Collecting pycodestyle<2.8.0,>=2.7.0
  137. Using cached pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
  138. Collecting black
  139. Using cached black-21.9b0-py3-none-any.whl (148 kB)
  140. Requirement already satisfied: setuptools in ./.venv/lib/python3.9/site-packages (from flake8-import-order->-r requirements.txt (line 29)) (57.4.0)
  141. Collecting flake8-polyfill
  142. Using cached flake8_polyfill-1.0.2-py2.py3-none-any.whl (7.3 kB)
  143. Collecting bandit
  144. Using cached bandit-1.7.0-py3-none-any.whl (115 kB)
  145. Collecting cognitive-complexity
  146. Using cached cognitive_complexity-1.2.0-py3-none-any.whl
  147. Collecting mr-proper
  148. Using cached mr_proper-0.0.6-py3-none-any.whl
  149. Collecting astpretty
  150. Using cached astpretty-2.1.0-py2.py3-none-any.whl (5.3 kB)
  151. Collecting mypy-extensions<0.5.0,>=0.4.3
  152. Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
  153. Collecting watchdog>=2.0
  154. Using cached watchdog-2.1.6-py3-none-manylinux2014_x86_64.whl (76 kB)
  155. Collecting mergedeep>=1.3.4
  156. Using cached mergedeep-1.3.4-py3-none-any.whl (6.4 kB)
  157. Collecting ghp-import>=1.0
  158. Using cached ghp_import-2.0.2-py3-none-any.whl (11 kB)
  159. Collecting PyYAML>=3.10
  160. Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
  161. Collecting pyyaml-env-tag>=0.1
  162. Using cached pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB)
  163. Collecting Markdown>=3.2.1
  164. Using cached Markdown-3.3.4-py3-none-any.whl (97 kB)
  165. Collecting Jinja2>=2.10.1
  166. Using cached Jinja2-3.0.2-py3-none-any.whl (133 kB)
  167. Collecting click>=3.3
  168. Using cached click-8.0.1-py3-none-any.whl (97 kB)
  169. Collecting importlib-metadata>=3.10
  170. Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
  171. Collecting pygments>=2.4
  172. Using cached Pygments-2.10.0-py3-none-any.whl (1.0 MB)
  173. Collecting pymdown-extensions>=9.0
  174. Using cached pymdown_extensions-9.0-py3-none-any.whl (215 kB)
  175. Collecting docspec<2.0.0,>=1.0.0
  176. Using cached docspec-1.2.0-py3-none-any.whl (10 kB)
  177. Collecting databind.core<2.0.0,>=1.2.2
  178. Using cached databind.core-1.2.3-py3-none-any.whl (33 kB)
  179. Collecting nr.stream<1.0.0,>=0.1.2
  180. Using cached nr.stream-0.2.3-py3-none-any.whl (6.5 kB)
  181. Collecting nr.fs<2.0.0,>=1.6.0
  182. Using cached nr.fs-1.6.3-py2.py3-none-any.whl (13 kB)
  183. Collecting databind.json<2.0.0,>=1.2.2
  184. Using cached databind.json-1.2.3-py3-none-any.whl (14 kB)
  185. Collecting six<2.0.0,>=1.11.0
  186. Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
  187. Collecting docspec-python<2.0.0,>=1.0.0
  188. Using cached docspec_python-1.2.0-py3-none-any.whl (14 kB)
  189. Collecting nr.pylang.utils<1.0.0,>=0.1.1
  190. Using cached nr.pylang.utils-0.1.3-py3-none-any.whl (12 kB)
  191. Collecting idna>=2.8
  192. Using cached idna-3.2-py3-none-any.whl (59 kB)
  193. Collecting sniffio>=1.1
  194. Using cached sniffio-1.2.0-py3-none-any.whl (10 kB)
  195. Collecting pycparser
  196. Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
  197. Collecting tomli
  198. Using cached tomli-1.2.1-py3-none-any.whl (11 kB)
  199. Collecting nr.preconditions<1.0.0,>=0.0.4
  200. Using cached nr.preconditions-0.0.4-py3-none-any.whl (3.5 kB)
  201. Collecting nr.parsing.date<2.0.0,>=1.0.1
  202. Using cached nr.parsing.date-1.0.3-py3-none-any.whl (12 kB)
  203. Collecting nr.optional<1.0.0,>=0.1.1
  204. Using cached nr.optional-0.2.0-py3-none-any.whl (3.1 kB)
  205. Collecting Deprecated<2.0.0,>=1.2.12
  206. Using cached Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
  207. Collecting wrapt<2,>=1.10
  208. Using cached wrapt-1.13.1-cp39-cp39-manylinux2010_x86_64.whl (80 kB)
  209. Collecting python-dateutil>=2.8.1
  210. Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
  211. Collecting zipp>=0.5
  212. Using cached zipp-3.6.0-py3-none-any.whl (5.3 kB)
  213. Collecting MarkupSafe>=2.0
  214. Using cached MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
  215. Collecting dataclasses<1.0.0,>=0.6.0
  216. Using cached dataclasses-0.6-py3-none-any.whl (14 kB)
  217. Collecting nr.utils.re<1.0.0,>=0.2.0
  218. Using cached nr.utils.re-0.3.1-py3-none-any.whl (4.3 kB)
  219. Collecting pyparsing>=2.0.2
  220. Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
  221. Collecting charset-normalizer~=2.0.0
  222. Using cached charset_normalizer-2.0.6-py3-none-any.whl (37 kB)
  223. Collecting certifi>=2017.4.17
  224. Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
  225. Collecting urllib3<1.27,>=1.21.1
  226. Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
  227. Collecting GitPython>=1.0.1
  228. Using cached GitPython-3.1.24-py3-none-any.whl (180 kB)
  229. Collecting stevedore>=1.20.0
  230. Using cached stevedore-3.4.0-py3-none-any.whl (49 kB)
  231. Collecting gitdb<5,>=4.0.1
  232. Using cached gitdb-4.0.7-py3-none-any.whl (63 kB)
  233. Collecting smmap<5,>=3.0.1
  234. Using cached smmap-4.0.0-py2.py3-none-any.whl (24 kB)
  235. Collecting pbr!=2.1.0,>=2.0.0
  236. Using cached pbr-5.6.0-py2.py3-none-any.whl (111 kB)
  237. Collecting platformdirs>=2
  238. Using cached platformdirs-2.4.0-py3-none-any.whl (14 kB)
  239. Collecting regex>=2020.1.8
  240. Using cached regex-2021.9.30-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (761 kB)
  241. Collecting pathspec<1,>=0.9.0
  242. Using cached pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
  243. Collecting stdlib-list>=0.5.0
  244. Using cached stdlib_list-0.8.0-py3-none-any.whl (63 kB)
  245. Installing collected packages: wrapt, nr.utils.re, nr.pylang.utils, dataclasses, typing-extensions, nr.stream, nr.preconditions, nr.parsing.date, nr.optional, Deprecated, smmap, six, databind.core, zipp, sniffio, PyYAML, python-dateutil, pyparsing, pyflakes, pycodestyle, pbr, mccabe, MarkupSafe, idna, gitdb, databind.json, watchdog, urllib3, tomli, toml, stevedore, stdlib-list, regex, pyyaml-env-tag, pycparser, py, pluggy, platformdirs, pathspec, packaging, mypy-extensions, mergedeep, Markdown, Jinja2, iniconfig, importlib-metadata, greenlet, GitPython, ghp-import, flake8, docspec, coverage, click, charset-normalizer, certifi, attrs, anyio, types-ipaddress, types-enum34, starlette, sqlalchemy, requests, pytest, pymysql, pymdown-extensions, pygments, pydantic, psycopg2-binary, nr.fs, mr-proper, mkdocs-material-extensions, mkdocs, flake8-polyfill, docspec-python, cognitive-complexity, cffi, black, bandit, async-timeout, astpretty, yappi, types-ujson, types-toml, types-requests, types-PyMySQL, types-pkg-resources, types-orjson, types-cryptography, types-aiofiles, pytest-cov, pytest-asyncio, pydoc-markdown, orjson, mysqlclient, mypy, mkdocs-material, flake8-variables-names, flake8-import-order, flake8-functions, flake8-expression-complexity, flake8-cognitive-complexity, flake8-builtins, flake8-bugbear, flake8-black, flake8-bandit, flake8-annotations, fastapi, databases, cryptography, codecov, asyncpg, aiosqlite, aiopg, aiomysql
  246. Successfully installed Deprecated-1.2.13 GitPython-3.1.24 Jinja2-3.0.2 Markdown-3.3.4 MarkupSafe-2.0.1 PyYAML-5.4.1 aiomysql-0.0.21 aiopg-1.3.2 aiosqlite-0.17.0 anyio-3.3.2 astpretty-2.1.0 async-timeout-3.0.1 asyncpg-0.24.0 attrs-21.2.0 bandit-1.7.0 black-21.9b0 certifi-2021.5.30 cffi-1.14.6 charset-normalizer-2.0.6 click-8.0.1 codecov-2.1.12 cognitive-complexity-1.2.0 coverage-6.0.1 cryptography-35.0.0 databases-0.5.2 databind.core-1.2.3 databind.json-1.2.3 dataclasses-0.6 docspec-1.2.0 docspec-python-1.2.0 fastapi-0.70.0 flake8-3.9.2 flake8-annotations-2.6.2 flake8-bandit-2.1.2 flake8-black-0.2.3 flake8-bugbear-21.9.2 flake8-builtins-1.5.3 flake8-cognitive-complexity-0.1.0 flake8-expression-complexity-0.0.9 flake8-functions-0.0.6 flake8-import-order-0.18.1 flake8-polyfill-1.0.2 flake8-variables-names-0.0.4 ghp-import-2.0.2 gitdb-4.0.7 greenlet-1.1.2 idna-3.2 importlib-metadata-4.8.1 iniconfig-1.1.1 mccabe-0.6.1 mergedeep-1.3.4 mkdocs-1.2.2 mkdocs-material-7.3.2 mkdocs-material-extensions-1.0.3 mr-proper-0.0.6 mypy-0.910 mypy-extensions-0.4.3 mysqlclient-2.0.3 nr.fs-1.6.3 nr.optional-0.2.0 nr.parsing.date-1.0.3 nr.preconditions-0.0.4 nr.pylang.utils-0.1.3 nr.stream-0.2.3 nr.utils.re-0.3.1 orjson-3.6.4 packaging-21.0 pathspec-0.9.0 pbr-5.6.0 platformdirs-2.4.0 pluggy-1.0.0 psycopg2-binary-2.9.1 py-1.10.0 pycodestyle-2.7.0 pycparser-2.20 pydantic-1.8.2 pydoc-markdown-4.3.2 pyflakes-2.3.1 pygments-2.10.0 pymdown-extensions-9.0 pymysql-0.9.3 pyparsing-2.4.7 pytest-6.2.5 pytest-asyncio-0.15.1 pytest-cov-3.0.0 python-dateutil-2.8.2 pyyaml-env-tag-0.1 regex-2021.9.30 requests-2.26.0 six-1.16.0 smmap-4.0.0 sniffio-1.2.0 sqlalchemy-1.4.25 starlette-0.16.0 stdlib-list-0.8.0 stevedore-3.4.0 toml-0.10.2 tomli-1.2.1 types-PyMySQL-1.0.2 types-aiofiles-0.1.9 types-cryptography-3.3.5 types-enum34-1.1.0 types-ipaddress-1.0.0 types-orjson-3.6.0 types-pkg-resources-0.1.3 types-requests-2.25.9 types-toml-0.10.0 types-ujson-0.1.1 typing-extensions-3.10.0.2 urllib3-1.26.7 watchdog-2.1.6 wrapt-1.13.1 yappi-1.3.3 zipp-3.6.0
  247.  
  248. ormar on  master via 🐍 v3.9.1 (.venv) took 38s
  249. ❯ black ormar tests
  250. reformatted ormar/exceptions.py
  251. reformatted ormar/fields/through_field.py
  252. reformatted ormar/decorators/signals.py
  253. reformatted ormar/models/mixins/prefetch_mixin.py
  254. reformatted ormar/models/mixins/pydantic_mixin.py
  255. reformatted ormar/models/mixins/excludable_mixin.py
  256. reformatted ormar/fields/many_to_many.py
  257. reformatted ormar/models/mixins/save_mixin.py
  258. reformatted ormar/models/model_row.py
  259. reformatted ormar/queryset/actions/filter_action.py
  260. reformatted ormar/fields/foreign_key.py
  261. reformatted ormar/queryset/clause.py
  262. reformatted ormar/fields/model_fields.py
  263. reformatted ormar/models/metaclass.py
  264. reformatted ormar/queryset/query.py
  265. reformatted ormar/relations/alias_manager.py
  266. reformatted ormar/queryset/join.py
  267. reformatted ormar/relations/utils.py
  268. reformatted ormar/relations/relation_manager.py
  269. reformatted ormar/queryset/utils.py
  270. reformatted ormar/queryset/prefetch_query.py
  271. reformatted ormar/models/newbasemodel.py
  272. reformatted ormar/relations/querysetproxy.py
  273. reformatted tests/test_encryption/test_encrypted_columns.py
  274. reformatted tests/test_exclude_include_dict/test_excludable_items.py
  275. reformatted ormar/queryset/queryset.py
  276. reformatted tests/test_model_definition/pks_and_fks/test_saving_string_pks.py
  277. reformatted tests/test_exclude_include_dict/test_complex_relation_tree_performance.py
  278. reformatted tests/test_model_definition/test_saving_nullable_fields.py
  279. reformatted tests/test_model_definition/test_fields_access.py
  280. reformatted tests/test_queries/test_nested_reverse_relations.py
  281. reformatted tests/test_inheritance_and_pydantic_generation/test_inheritance_concrete.py
  282. reformatted tests/test_relations/test_prefetch_related_multiple_models_relation.py
  283. reformatted tests/test_model_definition/test_models.py
  284. reformatted tests/test_relations/test_select_related_with_limit.py
  285. All done! ✨ 🍰 ✨
  286. 35 files reformatted, 159 files left unchanged.
  287.  
  288. ormar on  master [!] via 🐍 v3.9.1 (.venv) took 18s
  289. ❯ flake8 ormar
  290.  
  291. ormar/__init__.py:67:1: I101 Imported names are in the wrong order. Should be ExcludableItems, Extra, Model
  292. ormar/queryset/field_accessor.py:38:5: CFQ004 Function "__getattr__" has 4 returns that exceeds max allowed 3
  293. ormar/queryset/queryset.py:582:5: CFQ004 Function "values" has 4 returns that exceeds max allowed 3
  294. ormar/models/newbasemodel.py:28:1: I100 Import statements are in the wrong order. 'import databases' should be before 'from ormar.models.utils import Extra'
  295. ormar/models/newbasemodel.py:28:1: I202 Additional newline in a group of imports. 'import databases' is identified as Third Party and 'from ormar.models.utils import Extra' is identified as Third Party.
  296. ormar/models/newbasemodel.py:223:5: CCR001 Cognitive complexity is too high (8 > 7)
  297. ormar/models/helpers/models.py:32:1: CCR001 Cognitive complexity is too high (8 > 7)
  298. ormar/fields/sqlalchemy_encrypted.py:170:5: CFQ004 Function "process_result_value" has 4 returns that exceeds max allowed 3
  299. ormar/fields/base.py:151:5: CFQ004 Function "default_value" has 4 returns that exceeds max allowed 3
  300.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement