.pre-commit-config.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  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. - id: pip-tools-compile
  19. alias: compile-darwin-py2.7-zmq-requirements
  20. name: Darwin Py2.7 ZeroMQ Requirements
  21. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  22. args:
  23. - -v
  24. - --py-version=2.7
  25. - --platform=darwin
  26. - --include=pkg/osx/req.txt
  27. - --include=pkg/osx/req_ext.txt
  28. - --include=requirements/base.txt
  29. - --include=requirements/zeromq.txt
  30. - --include=requirements/pytest.txt
  31. - --passthrough-line-from-input=^pyobjc(.*)$
  32. - id: pip-tools-compile
  33. alias: compile-windows-py2.7-zmq-requirements
  34. name: Windows Py2.7 ZeroMQ Requirements
  35. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  36. args:
  37. - -v
  38. - --py-version=2.7
  39. - --platform=windows
  40. - --include=pkg/windows/req.txt
  41. - --include=pkg/windows/req_win.txt
  42. - --include=requirements/base.txt
  43. - --include=requirements/zeromq.txt
  44. - --include=requirements/pytest.txt
  45. - id: pip-tools-compile
  46. alias: compile-cloud-py2.7-requirements
  47. name: Cloud Py2.7 Requirements
  48. files: ^requirements/(static/cloud\.in)$
  49. args:
  50. - -v
  51. - --py-version=2.7
  52. - id: pip-tools-compile
  53. alias: compile-linux-crypto-py2.7-requirements
  54. name: Linux Py2.7 Crypto Requirements
  55. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  56. args:
  57. - -v
  58. - --py-version=2.7
  59. - --platform=linux
  60. - --out-prefix=linux
  61. - id: pip-tools-compile
  62. alias: compile-darwin-crypto-py2.7-requirements
  63. name: Darwin Py2.7 Crypto Requirements
  64. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  65. args:
  66. - -v
  67. - --py-version=2.7
  68. - --platform=darwin
  69. - --out-prefix=darwin
  70. - id: pip-tools-compile
  71. alias: compile-windows-crypto-py2.7-requirements
  72. name: Windows Py2.7 Crypto Requirements
  73. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  74. args:
  75. - -v
  76. - --py-version=2.7
  77. - --platform=windows
  78. - --out-prefix=windows
  79. - id: pip-tools-compile
  80. alias: compile-linux-py3.4-zmq-requirements
  81. name: Linux Py3.4 ZeroMQ Requirements
  82. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  83. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  84. args:
  85. - -v
  86. - --py-version=3.4
  87. - --platform=linux
  88. - --include=requirements/base.txt
  89. - --include=requirements/zeromq.txt
  90. - --include=requirements/pytest.txt
  91. - id: pip-tools-compile
  92. alias: compile-cloud-py3.4-requirements
  93. name: Cloud Py3.4 Requirements
  94. files: ^requirements/(static/cloud\.in)$
  95. args:
  96. - -v
  97. - --py-version=3.4
  98. - id: pip-tools-compile
  99. alias: compile-linux-crypto-py3.4-requirements
  100. name: Linux Py3.4 Crypto Requirements
  101. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  102. args:
  103. - -v
  104. - --py-version=3.4
  105. - --platform=linux
  106. - --out-prefix=linux
  107. - id: pip-tools-compile
  108. alias: compile-linux-py3.5-zmq-requirements
  109. name: Linux Py3.5 ZeroMQ Requirements
  110. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  111. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  112. args:
  113. - -v
  114. - --py-version=3.5
  115. - --platform=linux
  116. - --include=requirements/base.txt
  117. - --include=requirements/zeromq.txt
  118. - --include=requirements/pytest.txt
  119. - id: pip-tools-compile
  120. alias: compile-darwin-py3.5-zmq-requirements
  121. name: Darwin Py3.5 ZeroMQ Requirements
  122. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  123. args:
  124. - -v
  125. - --py-version=3.5
  126. - --platform=darwin
  127. - --include=pkg/osx/req.txt
  128. - --include=pkg/osx/req_ext.txt
  129. - --include=requirements/base.txt
  130. - --include=requirements/zeromq.txt
  131. - --include=requirements/pytest.txt
  132. - --passthrough-line-from-input=^pyobjc(.*)$
  133. - id: pip-tools-compile
  134. alias: compile-windows-py3.5-zmq-requirements
  135. name: Windows Py3.5 ZeroMQ Requirements
  136. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  137. args:
  138. - -v
  139. - --py-version=3.5
  140. - --platform=windows
  141. - --include=pkg/windows/req.txt
  142. - --include=pkg/windows/req_win.txt
  143. - --include=requirements/base.txt
  144. - --include=requirements/zeromq.txt
  145. - --include=requirements/pytest.txt
  146. - id: pip-tools-compile
  147. alias: compile-cloud-py3.5-requirements
  148. name: Cloud Py3.5 Requirements
  149. files: ^requirements/(static/cloud\.in)$
  150. args:
  151. - -v
  152. - --py-version=3.5
  153. - id: pip-tools-compile
  154. alias: compile-doc-requirements
  155. name: Docs Py3.5 Requirements
  156. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  157. args:
  158. - -v
  159. - --py-version=3.5
  160. - --platform=linux
  161. - id: pip-tools-compile
  162. alias: compile-linux-crypto-py3.5-requirements
  163. name: Linux Py3.5 Crypto Requirements
  164. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  165. args:
  166. - -v
  167. - --py-version=3.5
  168. - --platform=linux
  169. - --out-prefix=linux
  170. - id: pip-tools-compile
  171. alias: compile-darwin-crypto-py3.5-requirements
  172. name: Darwin Py3.5 Crypto Requirements
  173. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  174. args:
  175. - -v
  176. - --py-version=3.5
  177. - --platform=darwin
  178. - --out-prefix=darwin
  179. - id: pip-tools-compile
  180. alias: compile-windows-crypto-py3.5-requirements
  181. name: Windows Py3.5 Crypto Requirements
  182. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  183. args:
  184. - -v
  185. - --py-version=3.5
  186. - --platform=windows
  187. - --out-prefix=windows
  188. - id: pip-tools-compile
  189. alias: compile-lint-py3.5-requirements
  190. name: Lint Py3.5 Requirements
  191. files: ^requirements/static/lint\.in$
  192. args:
  193. - -v
  194. - --py-version=3.5
  195. - --platform=linux
  196. - id: pip-tools-compile
  197. alias: compile-linux-py3.6-zmq-requirements
  198. name: Linux Py3.6 ZeroMQ Requirements
  199. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  200. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  201. args:
  202. - -v
  203. - --py-version=3.6
  204. - --platform=linux
  205. - --include=requirements/base.txt
  206. - --include=requirements/zeromq.txt
  207. - --include=requirements/pytest.txt
  208. - id: pip-tools-compile
  209. alias: compile-darwin-py3.6-zmq-requirements
  210. name: Darwin Py3.6 ZeroMQ Requirements
  211. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  212. args:
  213. - -v
  214. - --py-version=3.6
  215. - --platform=darwin
  216. - --include=pkg/osx/req.txt
  217. - --include=pkg/osx/req_ext.txt
  218. - --include=requirements/base.txt
  219. - --include=requirements/zeromq.txt
  220. - --include=requirements/pytest.txt
  221. - --passthrough-line-from-input=^pyobjc(.*)$
  222. - id: pip-tools-compile
  223. alias: compile-windows-py3.6-zmq-requirements
  224. name: Windows Py3.6 ZeroMQ Requirements
  225. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  226. args:
  227. - -v
  228. - --py-version=3.6
  229. - --platform=windows
  230. - --include=pkg/windows/req.txt
  231. - --include=pkg/windows/req_win.txt
  232. - --include=requirements/base.txt
  233. - --include=requirements/zeromq.txt
  234. - --include=requirements/pytest.txt
  235. - id: pip-tools-compile
  236. alias: compile-cloud-py3.6-requirements
  237. name: Cloud Py3.6 Requirements
  238. files: ^requirements/(static/cloud\.in)$
  239. args:
  240. - -v
  241. - --py-version=3.6
  242. - id: pip-tools-compile
  243. alias: compile-doc-requirements
  244. name: Docs Py3.6 Requirements
  245. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  246. args:
  247. - -v
  248. - --py-version=3.6
  249. - --platform=linux
  250. - id: pip-tools-compile
  251. alias: compile-linux-crypto-py3.6-requirements
  252. name: Linux Py3.6 Crypto Requirements
  253. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  254. args:
  255. - -v
  256. - --py-version=3.6
  257. - --platform=linux
  258. - --out-prefix=linux
  259. - id: pip-tools-compile
  260. alias: compile-darwin-crypto-py3.6-requirements
  261. name: Darwin Py3.6 Crypto Requirements
  262. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  263. args:
  264. - -v
  265. - --py-version=3.6
  266. - --platform=darwin
  267. - --out-prefix=darwin
  268. - id: pip-tools-compile
  269. alias: compile-windows-crypto-py3.6-requirements
  270. name: Windows Py3.6 Crypto Requirements
  271. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  272. args:
  273. - -v
  274. - --py-version=3.6
  275. - --platform=windows
  276. - --out-prefix=windows
  277. - id: pip-tools-compile
  278. alias: compile-lint-py3.6-requirements
  279. name: Lint Py3.6 Requirements
  280. files: ^requirements/static/lint\.in$
  281. args:
  282. - -v
  283. - --py-version=3.6
  284. - --platform=linux
  285. - id: pip-tools-compile
  286. alias: compile-linux-py3.7-zmq-requirements
  287. name: Linux Py3.7 ZeroMQ Requirements
  288. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  289. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  290. args:
  291. - -v
  292. - --py-version=3.7
  293. - --platform=linux
  294. - --include=requirements/base.txt
  295. - --include=requirements/zeromq.txt
  296. - --include=requirements/pytest.txt
  297. - id: pip-tools-compile
  298. alias: compile-darwin-py3.7-zmq-requirements
  299. name: Darwin Py3.7 ZeroMQ Requirements
  300. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  301. args:
  302. - -v
  303. - --py-version=3.7
  304. - --platform=darwin
  305. - --include=pkg/osx/req.txt
  306. - --include=pkg/osx/req_ext.txt
  307. - --include=requirements/base.txt
  308. - --include=requirements/zeromq.txt
  309. - --include=requirements/pytest.txt
  310. - --passthrough-line-from-input=^pyobjc(.*)$
  311. - id: pip-tools-compile
  312. alias: compile-windows-py3.7-zmq-requirements
  313. name: Windows Py3.7 ZeroMQ Requirements
  314. files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  315. args:
  316. - -v
  317. - --py-version=3.7
  318. - --platform=windows
  319. - --include=pkg/windows/req.txt
  320. - --include=pkg/windows/req_win.txt
  321. - --include=requirements/base.txt
  322. - --include=requirements/zeromq.txt
  323. - --include=requirements/pytest.txt
  324. - id: pip-tools-compile
  325. alias: compile-cloud-py3.7-requirements
  326. name: Cloud Py3.7 Requirements
  327. files: ^requirements/(static/cloud\.in)$
  328. args:
  329. - -v
  330. - --py-version=3.7
  331. - id: pip-tools-compile
  332. alias: compile-doc-requirements
  333. name: Docs Py3.7 Requirements
  334. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  335. args:
  336. - -v
  337. - --py-version=3.7
  338. - --platform=linux
  339. - id: pip-tools-compile
  340. alias: compile-linux-crypto-py3.7-requirements
  341. name: Linux Py3.7 Crypto Requirements
  342. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  343. args:
  344. - -v
  345. - --py-version=3.7
  346. - --platform=linux
  347. - --out-prefix=linux
  348. - id: pip-tools-compile
  349. alias: compile-darwin-crypto-py3.7-requirements
  350. name: Darwin Py3.7 Crypto Requirements
  351. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  352. args:
  353. - -v
  354. - --py-version=3.7
  355. - --platform=darwin
  356. - --out-prefix=darwin
  357. - id: pip-tools-compile
  358. alias: compile-windows-crypto-py3.7-requirements
  359. name: Windows Py3.7 Crypto Requirements
  360. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  361. args:
  362. - -v
  363. - --py-version=3.7
  364. - --platform=windows
  365. - --out-prefix=windows
  366. - id: pip-tools-compile
  367. alias: compile-lint-py3.7-requirements
  368. name: Lint Py3.7 Requirements
  369. files: ^requirements/static/lint\.in$
  370. args:
  371. - -v
  372. - --py-version=3.7
  373. - --platform=linux
  374. - id: pip-tools-compile
  375. alias: compile-linux-py3.8-zmq-requirements
  376. name: Linux Py3.8 ZeroMQ Requirements
  377. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  378. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  379. args:
  380. - -v
  381. - --py-version=3.8
  382. - --platform=linux
  383. - --include=requirements/base.txt
  384. - --include=requirements/zeromq.txt
  385. - --include=requirements/pytest.txt
  386. - id: pip-tools-compile
  387. alias: compile-darwin-py3.8-zmq-requirements
  388. name: Darwin Py3.8 ZeroMQ Requirements
  389. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  390. args:
  391. - -v
  392. - --py-version=3.8
  393. - --platform=darwin
  394. - --include=pkg/osx/req.txt
  395. - --include=pkg/osx/req_ext.txt
  396. - --include=requirements/base.txt
  397. - --include=requirements/zeromq.txt
  398. - --include=requirements/pytest.txt
  399. - --passthrough-line-from-input=^pyobjc(.*)$
  400. # - id: pip-tools-compile
  401. # alias: compile-windows-py3.8-zmq-requirements
  402. # name: Windows Py3.8 ZeroMQ Requirements
  403. # files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  404. # args:
  405. # - -v
  406. # - --py-version=3.8
  407. # - --platform=windows
  408. # - --include=pkg/windows/req.txt
  409. # - --include=pkg/windows/req_win.txt
  410. # - --include=requirements/base.txt
  411. # - --include=requirements/zeromq.txt
  412. # - --include=requirements/pytest.txt
  413. - id: pip-tools-compile
  414. alias: compile-cloud-py3.8-requirements
  415. name: Cloud Py3.8 Requirements
  416. files: ^requirements/(static/cloud\.in)$
  417. args:
  418. - -v
  419. - --py-version=3.8
  420. - id: pip-tools-compile
  421. alias: compile-doc-requirements
  422. name: Docs Py3.8 Requirements
  423. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  424. args:
  425. - -v
  426. - --py-version=3.8
  427. - --platform=linux
  428. - id: pip-tools-compile
  429. alias: compile-linux-crypto-py3.8-requirements
  430. name: Linux Py3.8 Crypto Requirements
  431. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  432. args:
  433. - -v
  434. - --py-version=3.8
  435. - --platform=linux
  436. - --out-prefix=linux
  437. - id: pip-tools-compile
  438. alias: compile-darwin-crypto-py3.8-requirements
  439. name: Darwin Py3.8 Crypto Requirements
  440. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  441. args:
  442. - -v
  443. - --py-version=3.8
  444. - --platform=darwin
  445. - --out-prefix=darwin
  446. # - id: pip-tools-compile
  447. # alias: compile-windows-crypto-py3.8-requirements
  448. # name: Windows Py3.8 Crypto Requirements
  449. # files: ^requirements/(crypto\.txt|static/crypto\.in)$
  450. # args:
  451. # - -v
  452. # - --py-version=3.8
  453. # - --platform=windows
  454. # - --out-prefix=windows
  455. - id: pip-tools-compile
  456. alias: compile-lint-py3.8-requirements
  457. name: Lint Py3.8 Requirements
  458. files: ^requirements/static/lint\.in$
  459. args:
  460. - -v
  461. - --py-version=3.8
  462. - --platform=linux
  463. - id: pip-tools-compile
  464. alias: compile-linux-py3.9-zmq-requirements
  465. name: Linux Py3.9 ZeroMQ Requirements
  466. files: ^requirements/((base|zeromq|pytest)\.txt|static/linux\.in)$
  467. exclude: ^requirements/static/(centos-6|amzn-2018\.03|lint|cloud|docs|darwin|windows)\.in$
  468. args:
  469. - -v
  470. - --py-version=3.9
  471. - --platform=linux
  472. - --include=requirements/base.txt
  473. - --include=requirements/zeromq.txt
  474. - --include=requirements/pytest.txt
  475. - id: pip-tools-compile
  476. alias: compile-darwin-py3.9-zmq-requirements
  477. name: Darwin Py3.9 ZeroMQ Requirements
  478. files: ^(pkg/osx/(req|req_ext)\.txt|requirements/((base|zeromq|pytest)\.txt|static/darwin\.in))$
  479. args:
  480. - -v
  481. - --py-version=3.9
  482. - --platform=darwin
  483. - --include=pkg/osx/req.txt
  484. - --include=pkg/osx/req_ext.txt
  485. - --include=requirements/base.txt
  486. - --include=requirements/zeromq.txt
  487. - --include=requirements/pytest.txt
  488. - --passthrough-line-from-input=^pyobjc(.*)$
  489. # - id: pip-tools-compile
  490. # alias: compile-windows-py3.9-zmq-requirements
  491. # name: Windows Py3.9 ZeroMQ Requirements
  492. # files: ^(pkg/windows/(req|req_win)\.txt|requirements/((base|zeromq|pytest)\.txt|static/windows\.in))$
  493. # args:
  494. # - -v
  495. # - --py-version=3.9
  496. # - --platform=windows
  497. # - --include=pkg/windows/req.txt
  498. # - --include=pkg/windows/req_win.txt
  499. # - --include=requirements/base.txt
  500. # - --include=requirements/zeromq.txt
  501. # - --include=requirements/pytest.txt
  502. - id: pip-tools-compile
  503. alias: compile-cloud-py3.9-requirements
  504. name: Cloud Py3.9 Requirements
  505. files: ^requirements/(static/cloud\.in)$
  506. args:
  507. - -v
  508. - --py-version=3.9
  509. - id: pip-tools-compile
  510. alias: compile-doc-requirements
  511. name: Docs Py3.9 Requirements
  512. files: ^requirements/((base|zeromq|pytest)\.txt|static/docs\.in)$
  513. args:
  514. - -v
  515. - --py-version=3.9
  516. - --platform=linux
  517. - id: pip-tools-compile
  518. alias: compile-linux-crypto-py3.9-requirements
  519. name: Linux Py3.9 Crypto Requirements
  520. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  521. args:
  522. - -v
  523. - --py-version=3.9
  524. - --platform=linux
  525. - --out-prefix=linux
  526. - id: pip-tools-compile
  527. alias: compile-darwin-crypto-py3.9-requirements
  528. name: Darwin Py3.9 Crypto Requirements
  529. files: ^requirements/(crypto\.txt|static/crypto\.in)$
  530. args:
  531. - -v
  532. - --py-version=3.9
  533. - --platform=darwin
  534. - --out-prefix=darwin
  535. # - id: pip-tools-compile
  536. # alias: compile-windows-crypto-py3.9-requirements
  537. # name: Windows Py3.9 Crypto Requirements
  538. # files: ^requirements/(crypto\.txt|static/crypto\.in)$
  539. # args:
  540. # - -v
  541. # - --py-version=3.9
  542. # - --platform=windows
  543. # - --out-prefix=windows
  544. - id: pip-tools-compile
  545. alias: compile-lint-py3.9-requirements
  546. name: Lint Py3.9 Requirements
  547. files: ^requirements/static/lint\.in$
  548. args:
  549. - -v
  550. - --py-version=3.9
  551. - --platform=linux
  552. - repo: https://github.com/saltstack/salt-nox-pre-commit
  553. rev: master
  554. hooks:
  555. - id: nox-py2
  556. alias: lint-salt
  557. name: Lint Salt
  558. files: ^((setup|noxfile)|salt/.*)\.py$
  559. args:
  560. - -e
  561. - lint-salt-pre-commit
  562. - --
  563. - repo: https://github.com/saltstack/salt-nox-pre-commit
  564. rev: master
  565. hooks:
  566. - id: nox-py2
  567. alias: lint-tests
  568. name: Lint Tests
  569. files: ^tests/.*\.py$
  570. args:
  571. - -e
  572. - lint-tests-pre-commit
  573. - --