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

CONTRIBUTING.rst 2.7 KB

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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
  1. .. highlight:: shell
  2. ============
  3. Contributing
  4. ============
  5. Contributions are welcome, and they are greatly appreciated! Every
  6. little bit helps, and credit will always be given.
  7. You can contribute in many ways:
  8. Types of Contributions
  9. ----------------------
  10. Report Bugs
  11. ~~~~~~~~~~~
  12. Report bugs at https://github.com/ageitgey/face_recognition/issues.
  13. If you are reporting a bug, please include:
  14. * Your operating system name and version.
  15. * Any details about your local setup that might be helpful in troubleshooting.
  16. * Detailed steps to reproduce the bug.
  17. Submit Feedback
  18. ~~~~~~~~~~~~~~~
  19. The best way to send feedback is to file an issue at https://github.com/ageitgey/face_recognition/issues.
  20. If you are proposing a feature:
  21. * Explain in detail how it would work.
  22. * Keep the scope as narrow as possible, to make it easier to implement.
  23. * Remember that this is a volunteer-driven project, and that contributions
  24. are welcome :)
  25. Get Started!
  26. ------------
  27. Ready to contribute? Here's how to set up `face_recognition` for local development.
  28. 1. Fork the `face_recognition` repo on GitHub.
  29. 2. Clone your fork locally::
  30. $ git clone git@github.com:your_name_here/face_recognition.git
  31. 3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
  32. $ mkvirtualenv face_recognition
  33. $ cd face_recognition/
  34. $ python setup.py develop
  35. 4. Create a branch for local development::
  36. $ git checkout -b name-of-your-bugfix-or-feature
  37. Now you can make your changes locally.
  38. 5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::
  39. $ flake8 face_recognition tests
  40. $ python setup.py test or py.test
  41. $ tox
  42. To get flake8 and tox, just pip install them into your virtualenv.
  43. 6. Commit your changes and push your branch to GitHub::
  44. $ git add .
  45. $ git commit -m "Your detailed description of your changes."
  46. $ git push origin name-of-your-bugfix-or-feature
  47. 7. Submit a pull request through the GitHub website.
  48. Pull Request Guidelines
  49. -----------------------
  50. Before you submit a pull request, check that it meets these guidelines:
  51. 1. The pull request should include tests.
  52. 2. If the pull request adds functionality, the docs should be updated. Put
  53. your new functionality into a function with a docstring, and add the
  54. feature to the list in README.rst.
  55. 3. The pull request should work for Python 2.7, 3.5, 3.6, 3.7 and 3.8, and for PyPy. Check
  56. https://travis-ci.org/ageitgey/face_recognition/pull_requests
  57. and make sure that the tests pass for all supported Python versions.
  58. Tips
  59. ----
  60. To run a subset of tests::
  61. $ python -m unittest tests.test_face_recognition
Tip!

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

Comments

Loading...