]> jfr.im git - yt-dlp.git/blobdiff - CONTRIBUTING.md
[ie/brightcove] Upgrade requests to HTTPS (#10202)
[yt-dlp.git] / CONTRIBUTING.md
index 837b600e3178659c9cce1dc966be5f4aa8912872..aeba3c44d125b35d01307e3b320a780869be52ae 100644 (file)
@@ -266,7 +266,7 @@ ## Adding support for a new site
     $ hatch fmt --check
     ```
 
-    You can use `hatch fmt` to automatically fix problems.
+    You can use `hatch fmt` to automatically fix problems. Rules that the linter/formatter enforces should not be disabled with `# noqa` unless a maintainer requests it. The only exception allowed is for old/printf-style string formatting in GraphQL query templates (use `# noqa: UP031`).
 
 1. Make sure your code works under all [Python](https://www.python.org/) versions supported by yt-dlp, namely CPython and PyPy for Python 3.8 and above. Backward compatibility is not required for even older versions of Python.
 1. When the tests pass, [add](https://git-scm.com/docs/git-add) the new files, [commit](https://git-scm.com/docs/git-commit) them and [push](https://git-scm.com/docs/git-push) the result, like this: