ai-cr 0.1.0__py3-none-any.whl → 0.4.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. ai_code_review/.ai-code-review.toml +305 -0
  2. ai_code_review/__init__.py +0 -0
  3. ai_code_review/bootstrap.py +37 -0
  4. ai_code_review/cli.py +112 -0
  5. ai_code_review/constants.py +7 -0
  6. ai_code_review/core.py +114 -0
  7. ai_code_review/project_config.py +99 -0
  8. ai_code_review/report_struct.py +108 -0
  9. ai_code_review/utils.py +75 -0
  10. ai_cr-0.4.3.dist-info/METADATA +161 -0
  11. ai_cr-0.4.3.dist-info/RECORD +14 -0
  12. ai_cr-0.4.3.dist-info/entry_points.txt +3 -0
  13. .git/COMMIT_EDITMSG +0 -1
  14. .git/FETCH_HEAD +0 -1
  15. .git/HEAD +0 -1
  16. .git/ORIG_HEAD +0 -1
  17. .git/config +0 -57
  18. .git/description +0 -1
  19. .git/hooks/applypatch-msg.sample +0 -15
  20. .git/hooks/commit-msg.sample +0 -24
  21. .git/hooks/fsmonitor-watchman.sample +0 -174
  22. .git/hooks/post-update.sample +0 -8
  23. .git/hooks/pre-applypatch.sample +0 -14
  24. .git/hooks/pre-commit.sample +0 -49
  25. .git/hooks/pre-merge-commit.sample +0 -13
  26. .git/hooks/pre-push.sample +0 -53
  27. .git/hooks/pre-rebase.sample +0 -169
  28. .git/hooks/pre-receive.sample +0 -24
  29. .git/hooks/prepare-commit-msg.sample +0 -42
  30. .git/hooks/push-to-checkout.sample +0 -78
  31. .git/hooks/sendemail-validate.sample +0 -77
  32. .git/hooks/update.sample +0 -128
  33. .git/index +0 -0
  34. .git/info/exclude +0 -6
  35. .git/logs/HEAD +0 -56
  36. .git/logs/refs/heads/ISS14 +0 -3
  37. .git/logs/refs/heads/PR5 +0 -3
  38. .git/logs/refs/heads/distr +0 -3
  39. .git/logs/refs/heads/github_workflow +0 -11
  40. .git/logs/refs/heads/main +0 -6
  41. .git/logs/refs/heads/pr10 +0 -3
  42. .git/logs/refs/heads/pr11 +0 -1
  43. .git/logs/refs/heads/pr12 +0 -2
  44. .git/logs/refs/heads/pr13 +0 -3
  45. .git/logs/refs/heads/pr14 +0 -2
  46. .git/logs/refs/heads/pr15 +0 -2
  47. .git/logs/refs/heads/pr2 +0 -2
  48. .git/logs/refs/heads/pr3 +0 -2
  49. .git/logs/refs/heads/pr4 +0 -2
  50. .git/logs/refs/heads/pr6 +0 -3
  51. .git/logs/refs/heads/pr8 +0 -2
  52. .git/logs/refs/heads/pr9 +0 -3
  53. .git/logs/refs/remotes/origin/HEAD +0 -1
  54. .git/logs/refs/remotes/origin/ISS14 +0 -2
  55. .git/logs/refs/remotes/origin/PR5 +0 -2
  56. .git/logs/refs/remotes/origin/distr +0 -2
  57. .git/logs/refs/remotes/origin/github_workflow +0 -10
  58. .git/logs/refs/remotes/origin/main +0 -5
  59. .git/logs/refs/remotes/origin/pr10 +0 -2
  60. .git/logs/refs/remotes/origin/pr12 +0 -1
  61. .git/logs/refs/remotes/origin/pr13 +0 -2
  62. .git/logs/refs/remotes/origin/pr14 +0 -2
  63. .git/logs/refs/remotes/origin/pr15 +0 -1
  64. .git/logs/refs/remotes/origin/pr2 +0 -1
  65. .git/logs/refs/remotes/origin/pr3 +0 -1
  66. .git/logs/refs/remotes/origin/pr4 +0 -1
  67. .git/logs/refs/remotes/origin/pr6 +0 -2
  68. .git/logs/refs/remotes/origin/pr8 +0 -1
  69. .git/logs/refs/remotes/origin/pr9 +0 -2
  70. .git/objects/00/e15c53e2190ca590a9fbe6c9b292178568cef8 +0 -0
  71. .git/objects/01/53ccf25d39e1ede671aa7b8f923d9e41890237 +0 -0
  72. .git/objects/01/e234feef599ebafee61c7a0a8685db305d6ccc +0 -0
  73. .git/objects/03/50c4a3b1b2a53eb2407badf3190c9093aef7f7 +0 -0
  74. .git/objects/03/7585e81567a46b86bdb12cacb8fe7a6b26cc0d +0 -0
  75. .git/objects/07/10acf175ac4d747e6d387e2813700f078f32be +0 -0
  76. .git/objects/07/711175e105bcf158fd31e720d28cc69b7e34d5 +0 -0
  77. .git/objects/09/65927d61c531e119991f121c1a19d578c65b3d +0 -0
  78. .git/objects/0a/096ef88c1aa81728774dd1c7e8c79bcf5c491e +0 -6
  79. .git/objects/0a/f4884b0f660b9e10ad51aaaee68c563ee83a73 +0 -0
  80. .git/objects/0c/96607ea9c9b2e4678f94da89aedea2bcd94cda +0 -0
  81. .git/objects/0d/cc4204ea2df65333510becfbc85182f113d33e +0 -0
  82. .git/objects/10/427d29d8b95bbb09784f6241002fa117d3dd0f +0 -0
  83. .git/objects/10/5ce2da2d6447d11dfe32bfb846c3d5b199fc99 +0 -0
  84. .git/objects/13/566b81b018ad684f3a35fee301741b2734c8f4 +0 -2
  85. .git/objects/15/8c2f20a3f3423f7675f4816add1429a0223266 +0 -0
  86. .git/objects/17/fb2589bea7ec4f87bdb4c9a1481d09594656ac +0 -0
  87. .git/objects/1d/3278e0f366dcec4cd5e98a62ccf104f28f265d +0 -0
  88. .git/objects/1d/ceebc9439f6cba980508f103677a80f97a672a +0 -0
  89. .git/objects/1f/a58087175ca3cf46c3348482595c9783426471 +0 -0
  90. .git/objects/1f/b285986eb7755c6345085c6f3289c750adb2c1 +0 -0
  91. .git/objects/23/8df90734a6bdbe960bd970867a023f88664892 +0 -0
  92. .git/objects/24/af438231a0bedf68e2070aa46b2faab13c2af6 +0 -0
  93. .git/objects/24/e98633b9e4a31fd210c2eeae5c8987e2b1f57c +0 -0
  94. .git/objects/26/38390d41e532e1d942b6d36145cea208b8289b +0 -0
  95. .git/objects/28/47dd9f4c763d4f58fa09f95fce005822588792 +0 -0
  96. .git/objects/29/2aa49c25b414b74ef20340586f6fde4c4154ef +0 -0
  97. .git/objects/2a/ecfb9b33d51b09b0b79a53b00d89accf6023c8 +0 -0
  98. .git/objects/30/0e2fe4548b0675c0443ccb9e273f058d91552b +0 -0
  99. .git/objects/3c/da27cf7a62a6163b038c5c8bda73482d563af7 +0 -0
  100. .git/objects/3e/7449d6da3916718af8e8d3bc0576d35db991cc +0 -0
  101. .git/objects/3e/cd291b85d01d6260251009567cbf306098cc63 +0 -0
  102. .git/objects/40/63b9f1b2483d0cfcdb2a7fa1e2aa0f8e6b6a22 +0 -2
  103. .git/objects/43/8fe1376a06cab53e0bdf1629ad7533830ece54 +0 -0
  104. .git/objects/45/202f63795e9ece7313332d730d7359bf169048 +0 -0
  105. .git/objects/45/5f376dc5185586f8e5fed236f6547a9b95fe9f +0 -0
  106. .git/objects/46/52c55db06f32df93e1ca0d1f6b90067a4d50ff +0 -0
  107. .git/objects/47/d311ab16718476b46780b3c0b078cc2f0b5363 +0 -0
  108. .git/objects/48/35139bc257d0ce1d0497836ea233fedf0cf7e2 +0 -0
  109. .git/objects/4a/298f060025643a78be0da2181ccb19b4cf1a52 +0 -0
  110. .git/objects/4a/44ccd200d7965ebfafa79e32f781d70bce8618 +0 -0
  111. .git/objects/4c/721f452dadf9e303017cdc6e544e721dfb922d +0 -0
  112. .git/objects/4d/f12098552734b547892b5a3412149d90acf5df +0 -0
  113. .git/objects/4f/175ec45d22e03a80873da3b3a9547af0460d69 +0 -0
  114. .git/objects/4f/1ff6d693ee6adde85c30d4068b1898e2672e38 +0 -0
  115. .git/objects/4f/f337e4b4f256d3034a70d88887dc9c6c7caa02 +0 -0
  116. .git/objects/52/2e1c3f5f286ae06f58ab5cc2e6f796366914d9 +0 -0
  117. .git/objects/53/13510cdc184392e70393f3e99f0b99c9cf4b07 +0 -0
  118. .git/objects/53/847edbeebc9e1eb3e0bddcc0a726737aae2ff4 +0 -0
  119. .git/objects/54/78494c0fb874eb4112626912250e9d87b79782 +0 -0
  120. .git/objects/56/12275dd6ffd118605643ce5be0b09f82099ecf +0 -0
  121. .git/objects/61/41d3de631666d108a4cd10aa28f805e7ba2176 +0 -0
  122. .git/objects/61/a52a6564a3416abcfbde4f9c31ea003797be1c +0 -0
  123. .git/objects/62/9a884ee20ea72f3e529f09d17cf2c6bcdde59a +0 -0
  124. .git/objects/65/79867fd47b1f1d94d7f86b363290b9992dd3d5 +0 -0
  125. .git/objects/66/56027dc3dce02aeb380558b28a1155f9f56221 +0 -0
  126. .git/objects/66/d6fcea767d7fb1379a06649988656f59b2f11f +0 -0
  127. .git/objects/67/5a2f2488c4472fefe8c01d58af3036e8ea3646 +0 -0
  128. .git/objects/68/51843a6186387cc24e57013ecb48234c29d606 +0 -0
  129. .git/objects/68/83ffef5964a7e304ad31a36bc826b10b466630 +0 -0
  130. .git/objects/6b/fc4fdd895285d93151265e2a61a1f9b9bfeb23 +0 -0
  131. .git/objects/6c/0869f2a22f30604443d53c2193c5862f9631ab +0 -0
  132. .git/objects/6c/8c18a8b818bc289cdb5af64bf4d9c1965cd0bb +0 -2
  133. .git/objects/6d/05879d4c160a3f719b8a0e955ff0942d5c8cc5 +0 -0
  134. .git/objects/6d/165188630ed19e578141107a626e45266bde15 +0 -0
  135. .git/objects/6e/8321d8213769293fe28b366dceacdba4e1ae53 +0 -0
  136. .git/objects/6f/a39e12d18f8332b416a39022a17038b2fb2b79 +0 -0
  137. .git/objects/70/3dddb937f919e83e887796e5cde65a82e550b7 +0 -0
  138. .git/objects/70/bcd529437b15a83ecc1851515ceb5baee2c968 +0 -0
  139. .git/objects/71/2b09b10356caf10cdb2a164ac31f2fdca9e8df +0 -0
  140. .git/objects/72/17705dce1fb7641f1a6be9cad6a4c0c0bdef54 +0 -0
  141. .git/objects/72/2a2b31541c4b4eabd01df1cd9f78bf902b48f2 +0 -0
  142. .git/objects/74/0ee4f5f65869ebb2990d984a238c1b83bf2d2e +0 -0
  143. .git/objects/76/675f4e4a951b71830de8763b40f8dba5f0e329 +0 -0
  144. .git/objects/78/a0e7777e91f85a4304fd7b3ac57d1654496fae +0 -0
  145. .git/objects/7a/2351a44cd4ce936a35e2a9637da3626200abc7 +0 -0
  146. .git/objects/7b/cb5422cd40f863e38c1415e879c66b2b0f6ed0 +0 -0
  147. .git/objects/80/fa8421446fe3ef9facb790cf8e93e8bfa7bf86 +0 -0
  148. .git/objects/81/2ef37d3eaf8b52e4ffc3ad429fa230780b3d3e +0 -0
  149. .git/objects/82/d7fdd2beb79b6b64ab2da1d791d3a2b64d583f +0 -1
  150. .git/objects/87/d4c9ebcc955f31a4e125fb692e8f6b7e2e9004 +0 -0
  151. .git/objects/87/edbd2d1f2dbdfb5d64c9dcfb17cb330143aa7a +0 -0
  152. .git/objects/89/57f44e305c6c4cd64d0e8f4c6677f834cb810c +0 -2
  153. .git/objects/89/8a90dbe5babc16e488c790849f1d189814aacc +0 -0
  154. .git/objects/8c/2fccdebc495f29cbb18b641815020290b6d531 +0 -0
  155. .git/objects/8f/7de669deb74e7fb028bd0d8661d3ab19902ef2 +0 -0
  156. .git/objects/90/70debb5147ecc0efc58f48c3f5d1afa0a6d058 +0 -0
  157. .git/objects/91/af3b7f9fc304aa4d5593ab2dea81edd16c6842 +0 -0
  158. .git/objects/91/e75ebdffb1bd2868362c83269ac8757511a113 +0 -0
  159. .git/objects/92/cc82343d809b40274fc896aa639bcc6cdeef53 +0 -0
  160. .git/objects/94/a25f7f4cb416c083d265558da75d457237d671 +0 -0
  161. .git/objects/98/e9c322ec3ddf6150bdc7b6eab43d50dc68477f +0 -0
  162. .git/objects/99/d26651a87295a4967a9c662b4fc483dca54303 +0 -0
  163. .git/objects/99/f64fe8661dde8511c7581136ff1343df72ae11 +0 -0
  164. .git/objects/9c/0b1c3e999e338805b480e135fe7b2f0300f534 +0 -0
  165. .git/objects/9e/1b178c51649d878eeb1b99063594ed80903ce9 +0 -0
  166. .git/objects/a1/6305ecc5eeba77cae9e067f8491936ce9852f9 +0 -0
  167. .git/objects/a2/059f9bac3f3fdc5f58fa93ef828b03496807e3 +0 -0
  168. .git/objects/a2/6aa4fc4c3378ef756103f26ceb3618d2615ddb +0 -0
  169. .git/objects/a2/b3fd2fcf75b4e01fc46313f5b6b10d9574ea45 +0 -0
  170. .git/objects/a8/c116e2796299d870623c7c7bade3a482ced1e1 +0 -0
  171. .git/objects/a9/6353914fff11500d5e307c6a39379a7dc3f3a5 +0 -0
  172. .git/objects/ab/0e7004a39aedeffecd15a29948ef2983f8fedb +0 -0
  173. .git/objects/ab/2336f2f5c66697cfeff071f874c5171dc3e203 +0 -0
  174. .git/objects/ab/2e84e0513674a3feb40a625e67c826830cf955 +0 -0
  175. .git/objects/ae/098f9246f2cec2ef7487ab710dbb2ec4ba6f25 +0 -0
  176. .git/objects/ae/4da2d6bc50f83d660c0fe9839a280487f7ef87 +0 -0
  177. .git/objects/ae/7dc4cf2e4e4d808e632ce118b0d317e7e6d06b +0 -0
  178. .git/objects/ae/9c9580e50bff0e005fdf99e0a5a9ff6e76b91c +0 -0
  179. .git/objects/ae/b009618d2b8fb2c50ca54ea0a3657ffdb6c4ba +0 -0
  180. .git/objects/b3/24de33b5a21a01c9ae8b33636d5f1aca3efd31 +0 -0
  181. .git/objects/b5/320acd6bb7f62a174eccefe2ddc3eb1eff24e9 +0 -0
  182. .git/objects/b5/6828ec56fa75308c2f6c9db08ec414fd0b566d +0 -0
  183. .git/objects/b6/2c268663d053e57692cd9bf21f6c0c61a53411 +0 -0
  184. .git/objects/b8/1d5264f5b7448228120be9283b50ca1797bd02 +0 -0
  185. .git/objects/b9/210e2bbaff2e3b546ca3c65fc9d42fecef0f6b +0 -1
  186. .git/objects/bb/ab42af439de66ac98d4024416c8b32b3066e45 +0 -0
  187. .git/objects/bc/2ece3504ba0d8e65a40f223c8d04fc07b41fc7 +0 -0
  188. .git/objects/c0/3e8fe2975c8a6fc281915546747c07905a81a7 +0 -0
  189. .git/objects/c0/bdda06278a78d10a16e7df4dce2c73387c91be +0 -0
  190. .git/objects/c1/0d3d0df470652770af295bbeb9848e76daea05 +0 -0
  191. .git/objects/c2/574881c5be951d33c8df083325c241c6c83c55 +0 -0
  192. .git/objects/c2/d6ec54c49f9b6141f28e3b9b0276d7c71d18d2 +0 -0
  193. .git/objects/c2/f2fb023dbbe83b13b3a08bbf9eb7ee3539ae17 +0 -2
  194. .git/objects/c5/a8cf53296097c73cb02ed9b2e1aefb3ff4ccdc +0 -0
  195. .git/objects/c8/8a8dadb163234e72ffd8e29565200c537a0bc0 +0 -3
  196. .git/objects/c8/c228603f594ff421808257b643cc3a37aff7d3 +0 -0
  197. .git/objects/cb/3f5041c4acf866cff013ea916d12dc2482fe35 +0 -0
  198. .git/objects/cc/91ad25539ed2c756aa3de1b07cacece6ec0137 +0 -0
  199. .git/objects/d1/49cd9c1d61f461a7c0d6023ae9028f0ee525a9 +0 -0
  200. .git/objects/d5/292a1122dd0382ddb15b1c589bfe2370dd9062 +0 -0
  201. .git/objects/d5/5e55c84565f30bca7b4ef17551b9362a752d7f +0 -0
  202. .git/objects/d6/3d373dafc2d3cc9ea97033e0a05d90185118f5 +0 -0
  203. .git/objects/d6/c28b29f40cca12d8e80c02e5539e0ccdb5e69e +0 -0
  204. .git/objects/d7/238aa2b4808051f8d09b263c5c24d0921d1509 +0 -1
  205. .git/objects/d7/6b40fe82c1b34d7f1eadb11a4919aed78b965b +0 -0
  206. .git/objects/d8/1ab4149f5cf0ed537300961b50b741117d5d0d +0 -0
  207. .git/objects/d8/4dc6f797e9140db9540ca9de0fdef62238620c +0 -0
  208. .git/objects/d8/b3f6cbf0c04e3481a87fcd0d588f490d9fdac7 +0 -0
  209. .git/objects/db/dfb17058375783a115dec9b8667166daeafea7 +0 -0
  210. .git/objects/db/ef36011c0e082be9e83554b12b2e6ce5449890 +0 -0
  211. .git/objects/dc/26d426cf68c8b82ca3aeda0e7656b9c63a2a17 +0 -0
  212. .git/objects/e0/3c1b89624ed6163c875c84c114ce87ffb33e9f +0 -0
  213. .git/objects/e1/801f544ddfb099ec8b7ffea3d7d0b6226f07cd +0 -0
  214. .git/objects/e3/cf7976790f02529fae084d3d698133dfdf33cb +0 -0
  215. .git/objects/e5/c4125bfafa8ca31149ef216e5188a82cdfd9bc +0 -0
  216. .git/objects/e6/0fd8a2ed55b272863b70676def2feb34a2f5ab +0 -0
  217. .git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  218. .git/objects/e9/b540e3f95a3bddb31f9c7154ddc8d1416a5a49 +0 -0
  219. .git/objects/ea/1df7109d325e658658d32745c75adc6fab59de +0 -0
  220. .git/objects/eb/6c739b8f3e5b04d92d961f586cab2e6aed9299 +0 -0
  221. .git/objects/ed/2445f60de723b9c2f677f04890f42005b7cf75 +0 -0
  222. .git/objects/ef/3861fba8550a65b4bdc9705c7a9ae6c68f7811 +0 -0
  223. .git/objects/f2/8d82d529c1cd6185b393d2e779364550f7ece4 +0 -0
  224. .git/objects/f3/872867a1dbe7db3eb03d5e3817b65276260bb9 +0 -0
  225. .git/objects/f3/c2f22db356e7aaf2700677b764eb9c44abce8b +0 -0
  226. .git/objects/f7/b8019fae044e97766b5046d48b792e56263d9f +0 -2
  227. .git/objects/f8/28fe560a37bfee17a4e3af48a1ac2849e7bd47 +0 -0
  228. .git/objects/f9/099a73a609541d9d411193d2fa975852080cdf +0 -0
  229. .git/objects/f9/a1fcc542a53abc04564661c174bf85015ae4c9 +0 -2
  230. .git/objects/fb/bb61d4888712eae9a07c93820ee6dcfbf068db +0 -0
  231. .git/objects/fb/cbd444bb66d87e9e116dfe42331e4f9cff1b5a +0 -0
  232. .git/objects/ff/2f55840120e843740fab47d50dcdc7cedef91d +0 -0
  233. .git/objects/ff/ba5c4ae674142c7fdace47e34357ba8504ba58 +0 -0
  234. .git/objects/pack/pack-286afde1b841483a0d40e4c4d4bc844eb78906e1.idx +0 -0
  235. .git/objects/pack/pack-286afde1b841483a0d40e4c4d4bc844eb78906e1.pack +0 -0
  236. .git/objects/pack/pack-286afde1b841483a0d40e4c4d4bc844eb78906e1.rev +0 -0
  237. .git/packed-refs +0 -2
  238. .git/refs/heads/ISS14 +0 -1
  239. .git/refs/heads/PR5 +0 -1
  240. .git/refs/heads/distr +0 -1
  241. .git/refs/heads/github_workflow +0 -1
  242. .git/refs/heads/main +0 -1
  243. .git/refs/heads/pr10 +0 -1
  244. .git/refs/heads/pr11 +0 -1
  245. .git/refs/heads/pr12 +0 -1
  246. .git/refs/heads/pr13 +0 -1
  247. .git/refs/heads/pr14 +0 -1
  248. .git/refs/heads/pr15 +0 -1
  249. .git/refs/heads/pr2 +0 -1
  250. .git/refs/heads/pr3 +0 -1
  251. .git/refs/heads/pr4 +0 -1
  252. .git/refs/heads/pr6 +0 -1
  253. .git/refs/heads/pr8 +0 -1
  254. .git/refs/heads/pr9 +0 -1
  255. .git/refs/remotes/origin/HEAD +0 -1
  256. .git/refs/remotes/origin/ISS14 +0 -1
  257. .git/refs/remotes/origin/PR5 +0 -1
  258. .git/refs/remotes/origin/distr +0 -1
  259. .git/refs/remotes/origin/github_workflow +0 -1
  260. .git/refs/remotes/origin/main +0 -1
  261. .git/refs/remotes/origin/pr10 +0 -1
  262. .git/refs/remotes/origin/pr12 +0 -1
  263. .git/refs/remotes/origin/pr13 +0 -1
  264. .git/refs/remotes/origin/pr14 +0 -1
  265. .git/refs/remotes/origin/pr15 +0 -1
  266. .git/refs/remotes/origin/pr2 +0 -1
  267. .git/refs/remotes/origin/pr3 +0 -1
  268. .git/refs/remotes/origin/pr4 +0 -1
  269. .git/refs/remotes/origin/pr6 +0 -1
  270. .git/refs/remotes/origin/pr8 +0 -1
  271. .git/refs/remotes/origin/pr9 +0 -1
  272. .github/workflows/code-style.yml +0 -16
  273. .github/workflows/cr.yml +0 -99
  274. .gitignore +0 -178
  275. CONTRIBUTING.md +0 -44
  276. Makefile +0 -23
  277. README.md +0 -6
  278. ai_cr-0.1.0.dist-info/LICENSE +0 -21
  279. ai_cr-0.1.0.dist-info/METADATA +0 -32
  280. ai_cr-0.1.0.dist-info/RECORD +0 -277
  281. ai_cr-0.1.0.dist-info/entry_points.txt +0 -3
  282. cr-github-workflow-example.yml +0 -100
  283. cr-prompt.j2 +0 -18
  284. cr.py +0 -71
  285. publish.py +0 -16
  286. pyproject.toml +0 -57
  287. requirements.txt +0 -3
  288. /LICENSE → /ai_cr-0.4.3.dist-info/LICENSE +0 -0
  289. {ai_cr-0.1.0.dist-info → ai_cr-0.4.3.dist-info}/WHEEL +0 -0
@@ -1,2 +0,0 @@
1
- xu�Ak�@�{�_1����P�n�DŶ�cZB�a%�졫�egE����Junٓ���͛7��������]: l6[��#v�ZX��
2
- _���Jߤ���������V7�/�]��<N�rxx����
@@ -1,3 +0,0 @@
1
- x�R�N�0e�WXީ[@bI*!!�TU�Kr
2
- �'|����tw��H�5��Or�2�EʃkHFa�*��O��z�2��Y�/FɈeϧ��6��飣a�����PQ����z������~�|��n*ha�@���.9����TRWp7%���_�C�T���Xy���b��jZ��/s�_�e��a�mM//-���G�����q"����q��ƈ���ˉ����%bZ��/�
3
-
@@ -1 +0,0 @@
1
- x��� �0�}�y�rI.-�8�;\� F�#����
@@ -1,2 +0,0 @@
1
- x��[
2
- !��]��A�x��V���g�,��7��^��OKkup n7:��|RRRR9#4Ĝl4"��!'�����ӼA/C@���(0Z�"A!hg�)�0��[d�5�K痰��9���:��u����:���h@����A��[�b�k�~�BqA�
@@ -1,2 +0,0 @@
1
- x��Q��@ @Q�g�$��tR��[�{�1��J;
2
- �^���{�6�cm@ 7mq#.Y$��xJ��4��Dl��u&ɘ�]�&���/l��`$��̹+��Y%j �h�y�����6؏Zo����V_�:�A,�C�D[$�`���?Ea��Z�3�E����f�/���� oqH
.git/packed-refs DELETED
@@ -1,2 +0,0 @@
1
- # pack-refs with: peeled fully-peeled sorted
2
- 5774a1a37b7262a1c5d8ad22d28186b5634a2651 refs/remotes/origin/main
.git/refs/heads/ISS14 DELETED
@@ -1 +0,0 @@
1
- d84dc6f797e9140db9540ca9de0fdef62238620c
.git/refs/heads/PR5 DELETED
@@ -1 +0,0 @@
1
- b324de33b5a21a01c9ae8b33636d5f1aca3efd31
.git/refs/heads/distr DELETED
@@ -1 +0,0 @@
1
- f9a1fcc542a53abc04564661c174bf85015ae4c9
@@ -1 +0,0 @@
1
- 6c0869f2a22f30604443d53c2193c5862f9631ab
.git/refs/heads/main DELETED
@@ -1 +0,0 @@
1
- 6c0869f2a22f30604443d53c2193c5862f9631ab
.git/refs/heads/pr10 DELETED
@@ -1 +0,0 @@
1
- ef3861fba8550a65b4bdc9705c7a9ae6c68f7811
.git/refs/heads/pr11 DELETED
@@ -1 +0,0 @@
1
- ef3861fba8550a65b4bdc9705c7a9ae6c68f7811
.git/refs/heads/pr12 DELETED
@@ -1 +0,0 @@
1
- ed2445f60de723b9c2f677f04890f42005b7cf75
.git/refs/heads/pr13 DELETED
@@ -1 +0,0 @@
1
- 6bfc4fdd895285d93151265e2a61a1f9b9bfeb23
.git/refs/heads/pr14 DELETED
@@ -1 +0,0 @@
1
- 9070debb5147ecc0efc58f48c3f5d1afa0a6d058
.git/refs/heads/pr15 DELETED
@@ -1 +0,0 @@
1
- 87edbd2d1f2dbdfb5d64c9dcfb17cb330143aa7a
.git/refs/heads/pr2 DELETED
@@ -1 +0,0 @@
1
- b9210e2bbaff2e3b546ca3c65fc9d42fecef0f6b
.git/refs/heads/pr3 DELETED
@@ -1 +0,0 @@
1
- 7bcb5422cd40f863e38c1415e879c66b2b0f6ed0
.git/refs/heads/pr4 DELETED
@@ -1 +0,0 @@
1
- 07711175e105bcf158fd31e720d28cc69b7e34d5
.git/refs/heads/pr6 DELETED
@@ -1 +0,0 @@
1
- f7b8019fae044e97766b5046d48b792e56263d9f
.git/refs/heads/pr8 DELETED
@@ -1 +0,0 @@
1
- 4a298f060025643a78be0da2181ccb19b4cf1a52
.git/refs/heads/pr9 DELETED
@@ -1 +0,0 @@
1
- ab2e84e0513674a3feb40a625e67c826830cf955
@@ -1 +0,0 @@
1
- ref: refs/remotes/origin/main
@@ -1 +0,0 @@
1
- d84dc6f797e9140db9540ca9de0fdef62238620c
@@ -1 +0,0 @@
1
- b324de33b5a21a01c9ae8b33636d5f1aca3efd31
@@ -1 +0,0 @@
1
- f9a1fcc542a53abc04564661c174bf85015ae4c9
@@ -1 +0,0 @@
1
- 6c0869f2a22f30604443d53c2193c5862f9631ab
@@ -1 +0,0 @@
1
- 6c0869f2a22f30604443d53c2193c5862f9631ab
@@ -1 +0,0 @@
1
- ef3861fba8550a65b4bdc9705c7a9ae6c68f7811
@@ -1 +0,0 @@
1
- ed2445f60de723b9c2f677f04890f42005b7cf75
@@ -1 +0,0 @@
1
- 6bfc4fdd895285d93151265e2a61a1f9b9bfeb23
@@ -1 +0,0 @@
1
- 9070debb5147ecc0efc58f48c3f5d1afa0a6d058
@@ -1 +0,0 @@
1
- 87edbd2d1f2dbdfb5d64c9dcfb17cb330143aa7a
@@ -1 +0,0 @@
1
- b9210e2bbaff2e3b546ca3c65fc9d42fecef0f6b
@@ -1 +0,0 @@
1
- 7bcb5422cd40f863e38c1415e879c66b2b0f6ed0
@@ -1 +0,0 @@
1
- 07711175e105bcf158fd31e720d28cc69b7e34d5
@@ -1 +0,0 @@
1
- f7b8019fae044e97766b5046d48b792e56263d9f
@@ -1 +0,0 @@
1
- 4a298f060025643a78be0da2181ccb19b4cf1a52
@@ -1 +0,0 @@
1
- ab2e84e0513674a3feb40a625e67c826830cf955
@@ -1,16 +0,0 @@
1
- name: Code Style
2
-
3
- on: [push]
4
-
5
- jobs:
6
- cs:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - uses: actions/checkout@v3
10
- - uses: actions/setup-python@v3
11
- with:
12
- python-version: 3.12
13
- - name: Install dependencies
14
- run: pip install --upgrade pip flake8 pylint
15
- - name: Run flake8
16
- run: flake8 .
.github/workflows/cr.yml DELETED
@@ -1,99 +0,0 @@
1
- name: AI Code Review
2
-
3
- on:
4
- pull_request:
5
- types: [opened, synchronize, reopened]
6
-
7
- jobs:
8
- review:
9
- runs-on: ubuntu-latest
10
-
11
- permissions:
12
- contents: read
13
- pull-requests: write # to leave the summary comment
14
-
15
- steps:
16
- # 1️⃣ Check out the repo (full history for git diff)
17
- - uses: actions/checkout@v4
18
- with:
19
- fetch-depth: 0
20
-
21
- # 2️⃣ Minimal Python setup (cache pip to speed repeats)
22
- - name: Set up Python 3.11
23
- uses: actions/setup-python@v5
24
- with:
25
- python-version: "3.11"
26
- cache: "pip"
27
-
28
- # 3️⃣ Clone the tool and install its pinned deps
29
- - name: Install AI Code Review tool
30
- run: |
31
- git clone --depth 1 --branch v0.1.0 https://github.com/Nayjest/github-ai-code-review reviewer
32
- python -m pip install --upgrade pip
33
- pip install -r reviewer/requirements.txt
34
-
35
- # 4️⃣ Build a patch of the PR versus its base branch
36
- - name: Generate patch file
37
- shell: bash
38
- run: |
39
- git fetch origin "${{ github.base_ref }}"
40
- mkdir -p reviewer/storage/out
41
- git diff "origin/${{ github.base_ref }}"...HEAD > reviewer/storage/pr.patch
42
- echo "Patch size: $(wc -l reviewer/storage/pr.patch) lines"
43
-
44
- # 5️⃣ Run the reviewer (writes reports to reviewer/out/)
45
- - name: Run AI code review
46
- env:
47
- LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
48
- LLM_API_TYPE: openai
49
- MODEL: "gpt-4.1"
50
- run: |
51
- cd reviewer; python cr.py pr.patch
52
-
53
- # 6️⃣ Upload full results so they’re downloadable
54
- - uses: actions/upload-artifact@v4
55
- with:
56
- name: ai-code-review-results
57
- path: reviewer/storage/out/
58
- # 7️⃣ Post a readable summary to the pull-request
59
- - name: Comment on PR with review
60
- uses: actions/github-script@v7
61
- env:
62
- MAX_COMMENT_BYTES: "65000"
63
- with:
64
- script: |
65
- const fs = require('fs');
66
- const path = require('path');
67
-
68
- const DIR = 'reviewer/storage/out';
69
- if (!fs.existsSync(DIR)) {
70
- core.info('No review output produced.');
71
- return;
72
- }
73
-
74
- let body = '## 🤖 GPT-4 Code Review\n\n';
75
-
76
- for (const entry of fs.readdirSync(DIR, { withFileTypes: true })) {
77
- if (entry.isDirectory()) continue; // skip folders
78
- const filePath = path.join(DIR, entry.name);
79
- let text = fs.readFileSync(filePath, 'utf8');
80
-
81
- if (text.length > +process.env.MAX_COMMENT_BYTES) {
82
- text = text.slice(0, +process.env.MAX_COMMENT_BYTES) + '\n…(truncated)…';
83
- }
84
-
85
- const title = entry.name.replace(/\.txt$/, '');
86
- body += `### ${title}\n\`\`\`\n${text}\n\`\`\`\n`;
87
- }
88
-
89
- if (body.trim() === '## 🤖 AI Code Review') {
90
- core.info('Review output directory contains no files.');
91
- return;
92
- }
93
-
94
- await github.rest.issues.createComment({
95
- owner: context.repo.owner,
96
- repo: context.repo.repo,
97
- issue_number: context.issue.number, // ✅ correct param name
98
- body
99
- });
.gitignore DELETED
@@ -1,178 +0,0 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
- MANIFEST
28
-
29
- # PyInstaller
30
- # Usually these files are written by a python script from a template
31
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
- *.manifest
33
- *.spec
34
-
35
- # Installer logs
36
- pip-log.txt
37
- pip-delete-this-directory.txt
38
-
39
- # Unit test / coverage reports
40
- htmlcov/
41
- .tox/
42
- .nox/
43
- .coverage
44
- .coverage.*
45
- .cache
46
- nosetests.xml
47
- coverage.xml
48
- *.cover
49
- *.py,cover
50
- .hypothesis/
51
- .pytest_cache/
52
- cover/
53
-
54
- # Translations
55
- *.mo
56
- *.pot
57
-
58
- # Django stuff:
59
- *.log
60
- local_settings.py
61
- db.sqlite3
62
- db.sqlite3-journal
63
-
64
- # Flask stuff:
65
- instance/
66
- .webassets-cache
67
-
68
- # Scrapy stuff:
69
- .scrapy
70
-
71
- # Sphinx documentation
72
- docs/_build/
73
-
74
- # PyBuilder
75
- .pybuilder/
76
- target/
77
-
78
- # Jupyter Notebook
79
- .ipynb_checkpoints
80
-
81
- # IPython
82
- profile_default/
83
- ipython_config.py
84
-
85
- # pyenv
86
- # For a library or package, you might want to ignore these files since the code is
87
- # intended to run in multiple environments; otherwise, check them in:
88
- # .python-version
89
-
90
- # pipenv
91
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
- # install all needed dependencies.
95
- #Pipfile.lock
96
-
97
- # UV
98
- # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
- # This is especially recommended for binary packages to ensure reproducibility, and is more
100
- # commonly ignored for libraries.
101
- #uv.lock
102
-
103
- # poetry
104
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
- # This is especially recommended for binary packages to ensure reproducibility, and is more
106
- # commonly ignored for libraries.
107
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
- #poetry.lock
109
-
110
- # pdm
111
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
- #pdm.lock
113
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
- # in version control.
115
- # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116
- .pdm.toml
117
- .pdm-python
118
- .pdm-build/
119
-
120
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121
- __pypackages__/
122
-
123
- # Celery stuff
124
- celerybeat-schedule
125
- celerybeat.pid
126
-
127
- # SageMath parsed files
128
- *.sage.py
129
-
130
- # Environments
131
- .env
132
- .venv
133
- env/
134
- venv/
135
- ENV/
136
- env.bak/
137
- venv.bak/
138
-
139
- # Spyder project settings
140
- .spyderproject
141
- .spyproject
142
-
143
- # Rope project settings
144
- .ropeproject
145
-
146
- # mkdocs documentation
147
- /site
148
-
149
- # mypy
150
- .mypy_cache/
151
- .dmypy.json
152
- dmypy.json
153
-
154
- # Pyre type checker
155
- .pyre/
156
-
157
- # pytype static type analyzer
158
- .pytype/
159
-
160
- # Cython debug symbols
161
- cython_debug/
162
-
163
- # PyCharm
164
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166
- # and can be added to the global gitignore or merged into this file. For a more nuclear
167
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
168
- #.idea/
169
-
170
- # Ruff stuff:
171
- .ruff_cache/
172
-
173
- # PyPI configuration file
174
- .pypirc
175
-
176
- .idea
177
- .aico
178
- storage
CONTRIBUTING.md DELETED
@@ -1,44 +0,0 @@
1
- # Contributing
2
-
3
- 🌟 Contributions are welcome and will be fully credited! 🌟
4
-
5
- ## Workflow
6
-
7
- To contribute to this project, please note the following steps:
8
-
9
- - Fork the repository on GitHub.
10
- - Clone the forked repository to your machine.
11
- - Make the necessary changes in your branch.
12
- - Push your changes to your forked repository.
13
- - Submit a pull request with a description of the changes.
14
-
15
- More information can be found in the [GitHub documentation](https://docs.github.com/en/get-started/quickstart/contributing-to-projects).
16
-
17
- ## Guidelines
18
-
19
- - Please ensure to respect the existing style in the codebase and to include tests that cover your changes.
20
-
21
- - Document any change in behaviour. Make sure the `README.md` and any other relevant documentation are kept up-to-date.
22
-
23
- - One pull request per feature. If you want to do more than one thing, send multiple pull requests.
24
-
25
- - Send coherent history. Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.
26
-
27
-
28
- Run code formatter:
29
- ```bash
30
- black .
31
- ```
32
-
33
- Run code style checks:
34
- ```bash
35
- flake8 .
36
- pylint .
37
- ```
38
-
39
- Run tests:
40
- ```bash
41
- pytest
42
- ```
43
-
44
- 🚀 **Happy coding**!
Makefile DELETED
@@ -1,23 +0,0 @@
1
- cs:
2
- flake8 .
3
- black:
4
- black .
5
- # ============== [ Tests ] ==============
6
-
7
-
8
- install:
9
- pip install -r requirements.txt
10
-
11
- pkg:
12
- python -m poetry build
13
-
14
- clean-dist:
15
- python -c "import shutil, os; shutil.rmtree('dist', ignore_errors=True); os.makedirs('dist', exist_ok=True)"
16
- clear-dist: clean-dist
17
- cln-dist: clean-dist
18
- clr-dist: clean-dist
19
-
20
- publish:
21
- python publish.py
22
-
23
- upload: publish
README.md DELETED
@@ -1,6 +0,0 @@
1
- # 🤖 AI Code Review Tool for GitHub
2
-
3
- ## 📝 License
4
-
5
- Licensed under the [MIT License](https://github.com/Nayjest/github-ai-code-review/blob/main/LICENSE)
6
- © 2025 [Vitalii Stepanenko](mailto:mail@vitaliy.in)
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Vitalii Stepanenko
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.