This repository was archived by the owner on Jul 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,34 @@ use GitHub pull requests for this purpose. Consult [GitHub
31
31
Help] ( https://help.github.com/articles/about-pull-requests/ ) for more
32
32
information on using pull requests.
33
33
34
+ ### Contribution guidelines and standards
35
+
36
+ Before sending your pull request for
37
+ [ review] ( https://github.com/tensorflow/swift-apis/pulls ) ,
38
+ make sure your changes are consistent with the guidelines.
39
+
40
+ #### Testing
41
+
42
+ * Include unit tests when you contribute new features, as they help to a)
43
+ prove that your code works correctly, and b) guard against future breaking
44
+ changes to lower the maintenance cost.
45
+ * Bug fixes also generally require unit tests, because the presence of bugs
46
+ usually indicates insufficient test coverage.
47
+
48
+ #### License
49
+
50
+ Include a license at the top of new files.
51
+ * [ License example] ( https://github.com/tensorflow/swift-apis/blob/master/Sources/TensorFlow/Random.swift )
52
+
53
+ #### Swift coding style
54
+
55
+ Changes should conform to:
56
+
57
+ * [ Google Swift Style Guide] ( https://google.github.io/swift/ )
58
+ * [ Swift API Design Guidelines] ( https://swift.org/documentation/api-design-guidelines/ )
59
+
60
+ With the exception that 4-space indendation be used.
61
+
34
62
## Community
35
63
36
64
It's a good idea to discuss any non-trivial submissions with the project
You can’t perform that action at this time.
0 commit comments