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

Makefile 804 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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
  1. .PHONY: black-check
  2. black-check:
  3. poetry run black --check src tests
  4. .PHONY: black
  5. black:
  6. poetry run black src tests
  7. .PHONY: flake8
  8. flake8:
  9. poetry run flake8 src tests
  10. .PHONY: isort-check
  11. isort-check:
  12. poetry run isort --check-only src tests
  13. .PHONY: isort
  14. isort:
  15. poetry run isort src tests
  16. .PHONY: mdformat
  17. mdformat:
  18. poetry run mdformat *.md
  19. .PHONY: mdformat-check
  20. mdformat-check:
  21. poetry run mdformat --check *.md
  22. .PHONY: mypy
  23. mypy:
  24. poetry run mypy src
  25. .PHONY: test
  26. test:
  27. poetry run pytest tests --cov=src --cov-report term-missing --durations 5
  28. .PHONY: format
  29. format:
  30. $(MAKE) black
  31. $(MAKE) isort
  32. $(MAKE) mdformat
  33. .PHONY: lint
  34. lint:
  35. $(MAKE) black-check
  36. $(MAKE) isort-check
  37. $(MAKE) mdformat-check
  38. $(MAKE) flake8
  39. $(MAKE) mypy
  40. .PHONY: test-all
  41. test-all:
  42. $(MAKE) lint
  43. $(MAKE) test
Tip!

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

Comments

Loading...