Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

tox.ini 574 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  1. [tox]
  2. envlist = python3.9
  3. [gh-actions]
  4. python =
  5. 3.9: python3.9
  6. [testenv]
  7. deps = -rrequirements_dev.txt
  8. commands =
  9. # stop the build it there are python syntex errors or undefined name
  10. flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics
  11. # exit-zero treats all errors as warnings. The Github editor is 127 chaar wide
  12. flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
  13. # type linting
  14. mypy src/
  15. # pytest unit
  16. pytest -v tests/unit
  17. # pytest integration
  18. pytest -v tests/integration
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...