1
0

.pre-commit-config.yaml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. exclude: ^(doc/_static/.*|doc/_themes/.*)$
  2. repos:
  3. - repo: https://github.com/saltstack/pip-tools-compile-impersonate
  4. rev: master
  5. hooks:
  6. - id: pip-tools-compile
  7. alias: compile-linux-py2.7-zmq-requirements
  8. name: Linux Py2.7 ZeroMQ Requirements
  9. files: ^requirements/((base|zeromq|pytest)\.txt|static/(.*)\.in)$
  10. exclude: ^requirements/static/(lint|cloud|docs|osx|windows)\.in$
  11. args:
  12. - -v
  13. - --py-version=2.7
  14. - --platform=linux
  15. - --out-prefix=zeromq
  16. - --include=requirements/base.txt
  17. - --include=requirements/zeromq.txt
  18. - --include=requirements/pytest.txt
  19. - --remove-line=^pycrypto==(.*)$
  20. - id: pip-tools-compile
  21. alias: compile-osx-py2.7-zmq-requirements
  22. name: OSX Py2.7 ZeroMQ Requirements
  23. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/osx\.in))$
  24. args:
  25. - -v
  26. - --py-version=2.7
  27. - --platform=darwin
  28. - --out-prefix=zeromq
  29. - --include=pkg/osx/req.txt
  30. - --include=pkg/osx/req_ext.txt
  31. - --include=requirements/base.txt
  32. - --include=requirements/zeromq.txt
  33. - --include=requirements/pytest.txt
  34. - --remove-line=^pycrypto==(.*)$
  35. - --passthrough-line-from-input=^pyobjc(.*)$
  36. - id: pip-tools-compile
  37. alias: compile-windows-py2.7-zmq-requirements
  38. name: Windows Py2.7 ZeroMQ Requirements
  39. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  40. args:
  41. - -v
  42. - --py-version=2.7
  43. - --platform=windows
  44. - --out-prefix=zeromq
  45. - --include=pkg/windows/req.txt
  46. - --include=pkg/windows/req_win.txt
  47. - --include=requirements/base.txt
  48. - --include=requirements/zeromq.txt
  49. - --include=requirements/pytest.txt
  50. - --remove-line=^pycrypto==(.*)$
  51. - id: pip-tools-compile
  52. alias: compile-lint-py2.7-requirements
  53. name: Lint Py2.7 Requirements
  54. files: ^requirements/static/lint\.in$
  55. args:
  56. - -v
  57. - --py-version=2.7
  58. - --platform=linux
  59. - id: pip-tools-compile
  60. alias: compile-cloud-py2.7-requirements
  61. name: Cloud Py2.7 Requirements
  62. files: ^requirements/(static/cloud\.in)$
  63. args:
  64. - -v
  65. - --py-version=2.7
  66. - id: pip-tools-compile
  67. alias: compile-linux-py3.4-zmq-requirements
  68. name: Linux Py3.4 ZeroMQ Requirements
  69. files: ^requirements/((base|zeromq|pytest)\.txt|static/(.*)\.in)$
  70. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|osx|windows)\.in$
  71. args:
  72. - -v
  73. - --py-version=3.4
  74. - --platform=linux
  75. - --out-prefix=zeromq
  76. - --include=requirements/base.txt
  77. - --include=requirements/zeromq.txt
  78. - --include=requirements/pytest.txt
  79. - --remove-line=^pycrypto==(.*)$
  80. - id: pip-tools-compile
  81. alias: compile-cloud-py3.4-requirements
  82. name: Cloud Py3.4 Requirements
  83. files: ^requirements/(static/cloud\.in)$
  84. args:
  85. - -v
  86. - --py-version=3.4
  87. - id: pip-tools-compile
  88. alias: compile-linux-py3.5-zmq-requirements
  89. name: Linux Py3.5 ZeroMQ Requirements
  90. files: ^requirements/((base|zeromq|pytest)\.txt|static/(.*)\.in)$
  91. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|osx|windows)\.in$
  92. args:
  93. - -v
  94. - --py-version=3.5
  95. - --platform=linux
  96. - --out-prefix=zeromq
  97. - --include=requirements/base.txt
  98. - --include=requirements/zeromq.txt
  99. - --include=requirements/pytest.txt
  100. - --remove-line=^pycrypto==(.*)$
  101. - id: pip-tools-compile
  102. alias: compile-osx-py3.5-zmq-requirements
  103. name: OSX Py3.5 ZeroMQ Requirements
  104. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/osx\.in))$
  105. args:
  106. - -v
  107. - --py-version=3.5
  108. - --platform=darwin
  109. - --out-prefix=zeromq
  110. - --include=pkg/osx/req.txt
  111. - --include=pkg/osx/req_ext.txt
  112. - --include=requirements/base.txt
  113. - --include=requirements/zeromq.txt
  114. - --include=requirements/pytest.txt
  115. - --remove-line=^pycrypto==(.*)$
  116. - --passthrough-line-from-input=^pyobjc(.*)$
  117. - id: pip-tools-compile
  118. alias: compile-windows-py3.5-zmq-requirements
  119. name: Windows Py3.5 ZeroMQ Requirements
  120. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  121. args:
  122. - -v
  123. - --py-version=3.5
  124. - --platform=windows
  125. - --out-prefix=zeromq
  126. - --include=pkg/windows/req.txt
  127. - --include=pkg/windows/req_win.txt
  128. - --include=requirements/base.txt
  129. - --include=requirements/zeromq.txt
  130. - --include=requirements/pytest.txt
  131. - --remove-line=^pycrypto==(.*)$
  132. - id: pip-tools-compile
  133. alias: compile-cloud-py3.5-requirements
  134. name: Cloud Py3.5 Requirements
  135. files: ^requirements/(static/cloud\.in)$
  136. args:
  137. - -v
  138. - --py-version=3.5
  139. - id: pip-tools-compile
  140. alias: compile-doc-requirements
  141. name: Docs Py3.5 Requirements
  142. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  143. args:
  144. - -v
  145. - --py-version=3.5
  146. - --platform=linux
  147. - id: pip-tools-compile
  148. alias: compile-linux-py3.6-zmq-requirements
  149. name: Linux Py3.6 ZeroMQ Requirements
  150. files: ^requirements/((base|zeromq|pytest)\.txt|static/(.*)\.in)$
  151. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|osx|windows)\.in$
  152. args:
  153. - -v
  154. - --py-version=3.6
  155. - --platform=linux
  156. - --out-prefix=zeromq
  157. - --include=requirements/base.txt
  158. - --include=requirements/zeromq.txt
  159. - --include=requirements/pytest.txt
  160. - --remove-line=^pycrypto==(.*)$
  161. - id: pip-tools-compile
  162. alias: compile-osx-py3.6-zmq-requirements
  163. name: OSX Py3.6 ZeroMQ Requirements
  164. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/osx\.in))$
  165. args:
  166. - -v
  167. - --py-version=3.6
  168. - --platform=darwin
  169. - --out-prefix=zeromq
  170. - --include=pkg/osx/req.txt
  171. - --include=pkg/osx/req_ext.txt
  172. - --include=requirements/base.txt
  173. - --include=requirements/zeromq.txt
  174. - --include=requirements/pytest.txt
  175. - --remove-line=^pycrypto==(.*)$
  176. - --passthrough-line-from-input=^pyobjc(.*)$
  177. - id: pip-tools-compile
  178. alias: compile-windows-py3.6-zmq-requirements
  179. name: Windows Py3.6 ZeroMQ Requirements
  180. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  181. args:
  182. - -v
  183. - --py-version=3.6
  184. - --platform=windows
  185. - --out-prefix=zeromq
  186. - --include=pkg/windows/req.txt
  187. - --include=pkg/windows/req_win.txt
  188. - --include=requirements/base.txt
  189. - --include=requirements/zeromq.txt
  190. - --include=requirements/pytest.txt
  191. - --remove-line=^pycrypto==(.*)$
  192. - id: pip-tools-compile
  193. alias: compile-cloud-py3.6-requirements
  194. name: Cloud Py3.6 Requirements
  195. files: ^requirements/(static/cloud\.in)$
  196. args:
  197. - -v
  198. - --py-version=3.6
  199. - id: pip-tools-compile
  200. alias: compile-doc-requirements
  201. name: Docs Py3.6 Requirements
  202. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  203. args:
  204. - -v
  205. - --py-version=3.6
  206. - --platform=linux
  207. - id: pip-tools-compile
  208. alias: compile-linux-py3.7-zmq-requirements
  209. name: Linux Py3.7 ZeroMQ Requirements
  210. files: ^requirements/((base|zeromq|pytest)\.txt|static/(.*)\.in)$
  211. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|osx|windows)\.in$
  212. args:
  213. - -v
  214. - --py-version=3.7
  215. - --platform=linux
  216. - --out-prefix=zeromq
  217. - --include=requirements/base.txt
  218. - --include=requirements/zeromq.txt
  219. - --include=requirements/pytest.txt
  220. - --remove-line=^pycrypto==(.*)$
  221. - id: pip-tools-compile
  222. alias: compile-osx-py3.7-zmq-requirements
  223. name: OSX Py3.7 ZeroMQ Requirements
  224. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/osx\.in))$
  225. args:
  226. - -v
  227. - --py-version=3.7
  228. - --platform=darwin
  229. - --out-prefix=zeromq
  230. - --include=pkg/osx/req.txt
  231. - --include=pkg/osx/req_ext.txt
  232. - --include=requirements/base.txt
  233. - --include=requirements/zeromq.txt
  234. - --include=requirements/pytest.txt
  235. - --remove-line=^pycrypto==(.*)$
  236. - --passthrough-line-from-input=^pyobjc(.*)$
  237. - id: pip-tools-compile
  238. alias: compile-windows-py3.7-zmq-requirements
  239. name: Windows Py3.7 ZeroMQ Requirements
  240. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  241. args:
  242. - -v
  243. - --py-version=3.7
  244. - --platform=windows
  245. - --out-prefix=zeromq
  246. - --include=pkg/windows/req.txt
  247. - --include=pkg/windows/req_win.txt
  248. - --include=requirements/base.txt
  249. - --include=requirements/zeromq.txt
  250. - --include=requirements/pytest.txt
  251. - --remove-line=^pycrypto==(.*)$
  252. - id: pip-tools-compile
  253. alias: compile-cloud-py3.7-requirements
  254. name: Cloud Py3.7 Requirements
  255. files: ^requirements/(static/cloud\.in)$
  256. args:
  257. - -v
  258. - --py-version=3.7
  259. - id: pip-tools-compile
  260. alias: compile-doc-requirements
  261. name: Docs Py3.7 Requirements
  262. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  263. args:
  264. - -v
  265. - --py-version=3.7
  266. - --platform=linux