1
0

.pre-commit-config.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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/linux\.in)$
  10. exclude: ^requirements/static/(lint|cloud|docs|darwin|windows)\.in$
  11. args:
  12. - -v
  13. - --py-version=2.7
  14. - --platform=linux
  15. - --include=requirements/base.txt
  16. - --include=requirements/zeromq.txt
  17. - --include=requirements/pytest.txt
  18. - --remove-line=^pycrypto==(.*)$
  19. - id: pip-tools-compile
  20. alias: compile-darwin-py2.7-zmq-requirements
  21. name: Darwin Py2.7 ZeroMQ Requirements
  22. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  23. args:
  24. - -v
  25. - --py-version=2.7
  26. - --platform=darwin
  27. - --include=pkg/osx/req.txt
  28. - --include=pkg/osx/req_ext.txt
  29. - --include=requirements/base.txt
  30. - --include=requirements/zeromq.txt
  31. - --include=requirements/pytest.txt
  32. - --remove-line=^pycrypto==(.*)$
  33. - --passthrough-line-from-input=^pyobjc(.*)$
  34. - id: pip-tools-compile
  35. alias: compile-windows-py2.7-zmq-requirements
  36. name: Windows Py2.7 ZeroMQ Requirements
  37. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  38. args:
  39. - -v
  40. - --py-version=2.7
  41. - --platform=windows
  42. - --include=pkg/windows/req.txt
  43. - --include=pkg/windows/req_win.txt
  44. - --include=requirements/base.txt
  45. - --include=requirements/zeromq.txt
  46. - --include=requirements/pytest.txt
  47. - --remove-line=^pycrypto==(.*)$
  48. - id: pip-tools-compile
  49. alias: compile-lint-py2.7-requirements
  50. name: Lint Py2.7 Requirements
  51. files: ^requirements/static/lint\.in$
  52. args:
  53. - -v
  54. - --py-version=2.7
  55. - --platform=linux
  56. - id: pip-tools-compile
  57. alias: compile-cloud-py2.7-requirements
  58. name: Cloud Py2.7 Requirements
  59. files: ^requirements/(static/cloud\.in)$
  60. args:
  61. - -v
  62. - --py-version=2.7
  63. - id: pip-tools-compile
  64. alias: compile-linux-crypto-py2.7-requirements
  65. name: Linux Py2.7 Crypto Requirements
  66. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  67. args:
  68. - -v
  69. - --py-version=2.7
  70. - --platform=linux
  71. - --out-prefix=linux
  72. - id: pip-tools-compile
  73. alias: compile-darwin-crypto-py2.7-requirements
  74. name: Darwin Py2.7 Crypto Requirements
  75. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  76. args:
  77. - -v
  78. - --py-version=2.7
  79. - --platform=darwin
  80. - --out-prefix=darwin
  81. - id: pip-tools-compile
  82. alias: compile-windows-crypto-py2.7-requirements
  83. name: Windows Py2.7 Crypto Requirements
  84. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  85. args:
  86. - -v
  87. - --py-version=2.7
  88. - --platform=windows
  89. - --out-prefix=windows
  90. - id: pip-tools-compile
  91. alias: compile-linux-py3.4-zmq-requirements
  92. name: Linux Py3.4 ZeroMQ Requirements
  93. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  94. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  95. args:
  96. - -v
  97. - --py-version=3.4
  98. - --platform=linux
  99. - --include=requirements/base.txt
  100. - --include=requirements/zeromq.txt
  101. - --include=requirements/pytest.txt
  102. - --remove-line=^pycrypto==(.*)$
  103. - id: pip-tools-compile
  104. alias: compile-cloud-py3.4-requirements
  105. name: Cloud Py3.4 Requirements
  106. files: ^requirements/(static/cloud\.in)$
  107. args:
  108. - -v
  109. - --py-version=3.4
  110. - id: pip-tools-compile
  111. alias: compile-linux-crypto-py3.4-requirements
  112. name: Linux Py3.4 Crypto Requirements
  113. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  114. args:
  115. - -v
  116. - --py-version=3.4
  117. - --platform=linux
  118. - --out-prefix=linux
  119. - id: pip-tools-compile
  120. alias: compile-linux-py3.5-zmq-requirements
  121. name: Linux Py3.5 ZeroMQ Requirements
  122. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  123. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  124. args:
  125. - -v
  126. - --py-version=3.5
  127. - --platform=linux
  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-darwin-py3.5-zmq-requirements
  134. name: Darwin Py3.5 ZeroMQ Requirements
  135. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  136. args:
  137. - -v
  138. - --py-version=3.5
  139. - --platform=darwin
  140. - --include=pkg/osx/req.txt
  141. - --include=pkg/osx/req_ext.txt
  142. - --include=requirements/base.txt
  143. - --include=requirements/zeromq.txt
  144. - --include=requirements/pytest.txt
  145. - --remove-line=^pycrypto==(.*)$
  146. - --passthrough-line-from-input=^pyobjc(.*)$
  147. - id: pip-tools-compile
  148. alias: compile-windows-py3.5-zmq-requirements
  149. name: Windows Py3.5 ZeroMQ Requirements
  150. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  151. args:
  152. - -v
  153. - --py-version=3.5
  154. - --platform=windows
  155. - --include=pkg/windows/req.txt
  156. - --include=pkg/windows/req_win.txt
  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-cloud-py3.5-requirements
  163. name: Cloud Py3.5 Requirements
  164. files: ^requirements/(static/cloud\.in)$
  165. args:
  166. - -v
  167. - --py-version=3.5
  168. - id: pip-tools-compile
  169. alias: compile-doc-requirements
  170. name: Docs Py3.5 Requirements
  171. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  172. args:
  173. - -v
  174. - --py-version=3.5
  175. - --platform=linux
  176. - id: pip-tools-compile
  177. alias: compile-linux-crypto-py3.5-requirements
  178. name: Linux Py3.5 Crypto Requirements
  179. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  180. args:
  181. - -v
  182. - --py-version=3.5
  183. - --platform=linux
  184. - --out-prefix=linux
  185. - id: pip-tools-compile
  186. alias: compile-darwin-crypto-py3.5-requirements
  187. name: Darwin Py3.5 Crypto Requirements
  188. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  189. args:
  190. - -v
  191. - --py-version=3.5
  192. - --platform=darwin
  193. - --out-prefix=darwin
  194. - id: pip-tools-compile
  195. alias: compile-windows-crypto-py3.5-requirements
  196. name: Windows Py3.5 Crypto Requirements
  197. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  198. args:
  199. - -v
  200. - --py-version=3.5
  201. - --platform=windows
  202. - --out-prefix=windows
  203. - id: pip-tools-compile
  204. alias: compile-linux-py3.6-zmq-requirements
  205. name: Linux Py3.6 ZeroMQ Requirements
  206. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  207. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  208. args:
  209. - -v
  210. - --py-version=3.6
  211. - --platform=linux
  212. - --include=requirements/base.txt
  213. - --include=requirements/zeromq.txt
  214. - --include=requirements/pytest.txt
  215. - --remove-line=^pycrypto==(.*)$
  216. - id: pip-tools-compile
  217. alias: compile-darwin-py3.6-zmq-requirements
  218. name: Darwin Py3.6 ZeroMQ Requirements
  219. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  220. args:
  221. - -v
  222. - --py-version=3.6
  223. - --platform=darwin
  224. - --include=pkg/osx/req.txt
  225. - --include=pkg/osx/req_ext.txt
  226. - --include=requirements/base.txt
  227. - --include=requirements/zeromq.txt
  228. - --include=requirements/pytest.txt
  229. - --remove-line=^pycrypto==(.*)$
  230. - --passthrough-line-from-input=^pyobjc(.*)$
  231. - id: pip-tools-compile
  232. alias: compile-windows-py3.6-zmq-requirements
  233. name: Windows Py3.6 ZeroMQ Requirements
  234. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  235. args:
  236. - -v
  237. - --py-version=3.6
  238. - --platform=windows
  239. - --include=pkg/windows/req.txt
  240. - --include=pkg/windows/req_win.txt
  241. - --include=requirements/base.txt
  242. - --include=requirements/zeromq.txt
  243. - --include=requirements/pytest.txt
  244. - --remove-line=^pycrypto==(.*)$
  245. - id: pip-tools-compile
  246. alias: compile-cloud-py3.6-requirements
  247. name: Cloud Py3.6 Requirements
  248. files: ^requirements/(static/cloud\.in)$
  249. args:
  250. - -v
  251. - --py-version=3.6
  252. - id: pip-tools-compile
  253. alias: compile-doc-requirements
  254. name: Docs Py3.6 Requirements
  255. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  256. args:
  257. - -v
  258. - --py-version=3.6
  259. - --platform=linux
  260. - id: pip-tools-compile
  261. alias: compile-linux-crypto-py3.6-requirements
  262. name: Linux Py3.6 Crypto Requirements
  263. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  264. args:
  265. - -v
  266. - --py-version=3.6
  267. - --platform=linux
  268. - --out-prefix=linux
  269. - id: pip-tools-compile
  270. alias: compile-darwin-crypto-py3.6-requirements
  271. name: Darwin Py3.6 Crypto Requirements
  272. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  273. args:
  274. - -v
  275. - --py-version=3.6
  276. - --platform=darwin
  277. - --out-prefix=darwin
  278. - id: pip-tools-compile
  279. alias: compile-windows-crypto-py3.6-requirements
  280. name: Windows Py3.6 Crypto Requirements
  281. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  282. args:
  283. - -v
  284. - --py-version=3.6
  285. - --platform=windows
  286. - --out-prefix=windows
  287. - id: pip-tools-compile
  288. alias: compile-linux-py3.7-zmq-requirements
  289. name: Linux Py3.7 ZeroMQ Requirements
  290. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  291. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  292. args:
  293. - -v
  294. - --py-version=3.7
  295. - --platform=linux
  296. - --include=requirements/base.txt
  297. - --include=requirements/zeromq.txt
  298. - --include=requirements/pytest.txt
  299. - --remove-line=^pycrypto==(.*)$
  300. - id: pip-tools-compile
  301. alias: compile-darwin-py3.7-zmq-requirements
  302. name: Darwin Py3.7 ZeroMQ Requirements
  303. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  304. args:
  305. - -v
  306. - --py-version=3.7
  307. - --platform=darwin
  308. - --include=pkg/osx/req.txt
  309. - --include=pkg/osx/req_ext.txt
  310. - --include=requirements/base.txt
  311. - --include=requirements/zeromq.txt
  312. - --include=requirements/pytest.txt
  313. - --remove-line=^pycrypto==(.*)$
  314. - --passthrough-line-from-input=^pyobjc(.*)$
  315. - id: pip-tools-compile
  316. alias: compile-windows-py3.7-zmq-requirements
  317. name: Windows Py3.7 ZeroMQ Requirements
  318. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  319. args:
  320. - -v
  321. - --py-version=3.7
  322. - --platform=windows
  323. - --include=pkg/windows/req.txt
  324. - --include=pkg/windows/req_win.txt
  325. - --include=requirements/base.txt
  326. - --include=requirements/zeromq.txt
  327. - --include=requirements/pytest.txt
  328. - --remove-line=^pycrypto==(.*)$
  329. - id: pip-tools-compile
  330. alias: compile-cloud-py3.7-requirements
  331. name: Cloud Py3.7 Requirements
  332. files: ^requirements/(static/cloud\.in)$
  333. args:
  334. - -v
  335. - --py-version=3.7
  336. - id: pip-tools-compile
  337. alias: compile-doc-requirements
  338. name: Docs Py3.7 Requirements
  339. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  340. args:
  341. - -v
  342. - --py-version=3.7
  343. - --platform=linux
  344. - id: pip-tools-compile
  345. alias: compile-linux-crypto-py3.7-requirements
  346. name: Linux Py3.7 Crypto Requirements
  347. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  348. args:
  349. - -v
  350. - --py-version=3.7
  351. - --platform=linux
  352. - --out-prefix=linux
  353. - id: pip-tools-compile
  354. alias: compile-darwin-crypto-py3.7-requirements
  355. name: Darwin Py3.7 Crypto Requirements
  356. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  357. args:
  358. - -v
  359. - --py-version=3.7
  360. - --platform=darwin
  361. - --out-prefix=darwin
  362. - id: pip-tools-compile
  363. alias: compile-windows-crypto-py3.7-requirements
  364. name: Windows Py3.7 Crypto Requirements
  365. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  366. args:
  367. - -v
  368. - --py-version=3.7
  369. - --platform=windows
  370. - --out-prefix=windows