Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert of revert "New modularity support after migration to new pulp" #754

Closed

Conversation

soksanichenko
Copy link
Member

No description provided.

Copy link

Total coverage

Coverage report for changed files •
FileStmtsMissCoverMissing
build_planner.py3366780%65, 69–70, 78, 96–97, 100, 105, 116–117, 122–124, 127–128, 208, 235, 282–287, 289, 291, 293–295, 297–299, 302–304, 306–312, 316–320, 322, 324, 326, 355, 362–363, 390, 447, 458, 473, 513, 515–517, 523–524, 540, 587, 665–666, 675
constants.py135794%98, 102, 172, 176, 209, 214, 219
dependencies.py31874%46–48, 50, 54–56, 58
models.py6353794%112, 121, 289, 604, 650, 1049, 1519–1521, 1524–1526, 1533, 1682–1683, 1687–1688, 1691–1693, 1817–1819, 1822–1824, 1831, 1978–1979, 1983–1984, 1987–1989, 2116–2117, 2121
pulp_models.py220796%249, 453, 456, 460, 464, 472, 506
release_planner.py83242748%81, 100, 103, 108–113, 133, 162, 176, 184, 191, 199, 202–204, 207–208, 218, 226, 234, 277–280, 288–300, 304–318, 324–325, 333, 336–339, 342, 364, 430, 432, 449–450, 455, 474–476, 480–481, 485–490, 496–503, 505–506, 515–516, 518–520, 522–523, 527–529, 532–535, 541, 543–550, 563, 566, 574, 580–584, 593–595, 599–600, 605–606, 714, 725, 727–728, 733, 740–741, 745–752, 757–759, 763–766, 773–774, 776–778, 780–781, 784, 786, 796, 807, 838, 926, 930–935, 1027, 1036–1042, 1058–1072, 1092, 1111, 1133, 1141, 1145, 1148, 1180–1181, 1189–1195, 1199–1200, 1205–1210, 1222–1223, 1231–1233, 1237, 1240–1242, 1246, 1249–1250, 1259, 1263, 1267–1271, 1275–1277, 1284–1286, 1290–1295, 1320–1322, 1326, 1328–1329, 1336–1338, 1340–1341, 1343, 1348, 1355–1359, 1363–1365, 1367, 1370, 1376–1378, 1384–1385, 1389–1398, 1407–1409, 1412, 1419–1422, 1428–1430, 1434–1435, 1443–1445, 1447–1448, 1456–1460, 1463, 1469–1470, 1473, 1482–1483, 1489–1502, 1513–1514, 1523–1527, 1532–1533, 1539–1540, 1544–1551, 1556, 1558–1559, 1564, 1570–1572, 1576–1579, 1581–1588, 1593–1596, 1603–1604, 1606, 1610, 1630, 1639–1641, 1643–1644, 1651, 1663, 1675, 1690–1693, 1708–1713, 1720–1722, 1725–1727, 1730–1736, 1739–1740, 1742–1744, 1751–1752, 1756, 1758–1759, 1771, 1782, 1784, 1787, 1803, 1827, 1881–1883, 1889–1891
crud
   build.py1407546%47, 65, 68, 79, 84–86, 173–174, 183–184, 187, 189, 193, 200, 202, 204, 212–214, 221, 223, 225, 231, 233, 239–240, 249–250, 258, 264, 298–302, 305, 309–324, 327, 332, 337, 340, 345, 350, 355, 360, 365, 370, 375, 382, 385, 390, 398, 403, 415–420
   build_node.py47917663%49, 51, 54, 90–96, 104, 108, 117–125, 127–132, 134, 141–146, 148–154, 156–158, 160, 165–173, 176–179, 182–183, 186, 189–191, 195–196, 198–200, 205–207, 209–215, 218–219, 237, 241, 246, 250, 253–259, 263, 265–268, 276–279, 284, 292, 296, 301, 312, 317, 380–381, 384, 392–393, 396, 461, 471–473, 477, 483–484, 489–490, 510–511, 523–524, 531–533, 541, 550, 553–555, 646, 658–661, 673–675, 683–684, 741, 844–845, 848–849, 898, 904, 911, 913, 918–919, 963, 969–970, 976–978, 983–984, 991, 1018–1021, 1026–1030, 1053, 1130–1131
   errata.py67050125%79–85, 98–99, 102–110, 115, 118, 122–123, 129, 139, 142–143, 145–146, 151–152, 156–157, 163, 168, 172–180, 185–187, 190–211, 214–222, 225, 233–234, 238–240, 243–250, 252–253, 320–328, 332, 335–339, 342–355, 358–367, 370, 373–378, 381–392, 395–396, 400–404, 407, 432, 436, 454–461, 468–478, 486, 491–493, 495–497, 500–502, 504–507, 534, 543–550, 554–555, 560–561, 565, 581–582, 605–608, 615, 619–620, 629–633, 704–706, 716–717, 756, 812, 821, 830, 844–846, 852, 864–870, 873–876, 882–883, 886–887, 890–891, 894–896, 898, 911–913, 927–934, 938, 942–945, 957–958, 962, 964–981, 995–1000, 1009–1012, 1019–1020, 1030, 1034, 1037, 1074, 1079–1081, 1093–1095, 1112–1113, 1127, 1140–1144, 1147, 1162–1168, 1177–1181, 1185–1187, 1195–1197, 1211, 1221–1225, 1229–1235, 1239–1244, 1248–1250, 1252–1259, 1264–1266, 1276–1284, 1290–1292, 1300–1302, 1307, 1318–1319, 1322–1327, 1331, 1345, 1358, 1362, 1369, 1373–1377, 1379, 1384, 1386–1387, 1389, 1399, 1403, 1408, 1410–1413, 1416–1418, 1420–1423, 1428–1429, 1434–1439, 1441, 1447, 1449, 1458–1459, 1463, 1468–1471, 1479, 1481, 1483, 1486–1488, 1492, 1494, 1499–1502, 1507–1508, 1512–1516, 1518, 1525–1526, 1535–1538, 1542–1543, 1548–1549, 1553–1561, 1564, 1579, 1604, 1645, 1650, 1658, 1677–1681, 1687, 1694–1695, 1703–1704
   products.py1224265%50, 54, 59, 193, 195, 202, 206, 221, 230–232, 235–237, 256–257, 261, 266–267, 271, 278–281, 284, 286, 298–302, 307, 322, 324–326, 330–333, 338, 340
   test.py22513838%100–101, 110–117, 131–132, 139–150, 173, 205, 241, 247, 250, 255, 279, 281, 286, 292–297, 299–303, 305–307, 309–310, 318–319, 334, 338–339, 342, 346, 348, 354, 368, 377, 392–396, 400–401, 410–413, 423, 436, 441, 459–465, 467–473, 478, 480–481, 485–487, 489–490, 492–497, 499–503, 505–507, 516, 523–524, 529–533, 564, 578–579, 581–587, 591–592, 595, 598–602, 610–611
dramatiq
   build.py1215752%48–50, 125–127, 134–140, 142–143, 147–148, 153, 158–159, 166–170, 176, 187–191, 197, 201–203, 210–214, 219–220, 225, 229–230, 241, 247–248, 256, 272, 278–280, 290–291, 308–309
   products.py1395758%28, 35, 48–57, 59–63, 68, 72, 77–80, 84–86, 90, 96, 101, 106, 124, 127–129, 146–149, 152–156, 159, 206–209, 215, 333–334, 336, 342, 360–362, 381
routers
   build_node.py755329%31, 40–43, 48–51, 62–64, 66–69, 72, 80, 96–107, 111–114, 117–118, 121–123, 127–129, 131–132, 134–140, 153–154
   products.py542161%44, 57–58, 64, 73–74, 78, 93, 97–98, 116, 122–123, 140, 144–145, 160–162, 169, 174
   projects.py19668%23–25, 32–34
   sign_task.py653644%31, 40, 50–51, 57–58, 70–73, 76, 90–91, 97–99, 101, 104–105, 107, 114–116, 118, 121–126, 134–136, 143, 155, 160
   uploads.py191047%25–27, 31–37
schemas
   build_schema.py34414358%62–64, 67–69, 74, 78, 81–82, 86, 309–321, 329–342, 345–351, 364–366, 368–377, 380–386, 390, 393–395, 400–405, 408–415, 418, 441, 446–448, 451, 454–457, 462–468, 473–476, 482–486, 488–489, 491, 495–504, 508–509, 513, 522–523, 527, 535, 537–544, 556–561
scripts/albs-gitea-listener
   gitea_listener.py89890%6, 10–16, 18–23, 25, 28–30, 33–35, 38, 52, 54, 70–71, 73, 75, 79, 83–85, 88, 109–111, 122–124, 127–128, 131, 141, 156–159, 164–168, 171–179, 181–185, 187, 191–194, 196–197, 201–202, 204, 210, 213, 218, 223–225, 228–232, 235–236
scripts/git_cacher
   git_cacher.py725030%28–31, 35, 39–43, 46–48, 52, 55–64, 70–76, 79–82, 85–87, 93–95, 100–103, 105–106, 110, 113, 117
utils
   modularity.py3469572%36–42, 46–53, 61–63, 67–69, 80, 87, 122, 146, 155, 163, 165–173, 193, 196, 199, 213, 227, 238–241, 243, 267–269, 338, 360–361, 371, 379–386, 390–414, 478–480, 484–485, 490, 494, 503, 515
   multilib.py1751392%67, 88–89, 96, 182, 223, 233, 301, 346, 350, 357, 386–387
   pulp_client.py52941920%49–54, 57, 62, 65, 79–80, 85–89, 92, 95, 100–101, 104–107, 110, 115–123, 128–131, 136–141, 144–149, 157–158, 166–171, 174–179, 187, 195–200, 207–212, 222–224, 228–229, 234–238, 245, 250–253, 262–264, 271–272, 288–289, 306–311, 316–321, 327–330, 338–341, 346–350, 353–355, 357–360, 363, 366–368, 371, 373, 376–377, 380, 383–385, 387–389, 392–393, 396–397, 403–407, 409–410, 412, 415–416, 419–422, 424, 426, 429–442, 449, 454, 461, 466, 476–477, 481–482, 487–495, 500–502, 505–508, 514–517, 525–526, 530–534, 539, 544–545, 548, 551–553, 557–560, 562–563, 568–569, 577–578, 584–586, 591–592, 597–600, 603–604, 607–608, 613–614, 619–622, 632–638, 640, 650, 663, 665, 671–678, 684–685, 694–697, 711–714, 726, 733–737, 748–749, 755–756, 761, 767–768, 780–786, 789–794, 802, 804–808, 812, 818–820, 829–832, 835–837, 840–843, 845, 848, 853–857, 863–864, 873–878, 881–888, 896–907, 910, 913–914, 918–920, 923–938, 945–949, 952–953, 957–959, 962–965, 978–979, 981–984, 987, 995–997, 999, 1008–1010, 1012–1018
   uploader.py1088719%22, 25–26, 29, 31, 35–43, 46, 51–52, 61–64, 67–68, 72–82, 93–94, 98, 102, 109, 119–120, 126, 129, 131–133, 135–136, 141–143, 147–148, 150, 153, 159–162, 170, 181–182, 189–193, 200, 203–204, 208–224
TOTAL9949442355% 

Tests Skipped Failures Errors Time
82 13 💤 0 ❌ 0 🔥 34.042s ⏱️

Copy link

pylint output
************* Module 07dad1dc5105_migrate_pulp_modules
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:39:0: C0301: Line too long (89/80) (line-too-long)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:1:0: C0103: Module name "07dad1dc5105_migrate_pulp_modules" doesn't conform to snake_case naming style (invalid-name)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:13:0: C0103: Constant name "revision" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:14:0: C0103: Constant name "down_revision" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:15:0: C0103: Constant name "branch_labels" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:16:0: C0103: Constant name "depends_on" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:19:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:21:4: E1101: Module 'alembic.op' has no 'create_table' member (no-member)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:37:4: E1101: Module 'alembic.op' has no 'execute' member (no-member)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:44:4: E1101: Module 'alembic.op' has no 'drop_constraint' member (no-member)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:47:4: E1101: Module 'alembic.op' has no 'drop_column' member (no-member)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:48:4: E1101: Module 'alembic.op' has no 'drop_column' member (no-member)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:52:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:54:4: E1101: Module 'alembic.op' has no 'add_column' member (no-member)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:60:4: E1101: Module 'alembic.op' has no 'add_column' member (no-member)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:66:4: E1101: Module 'alembic.op' has no 'create_foreign_key' member (no-member)
alws/alembic/versions/07dad1dc5105_migrate_pulp_modules.py:73:4: E1101: Module 'alembic.op' has no 'drop_table' member (no-member)
************* Module scripts.migrate_pulp_modularity
scripts/migrate_pulp_modularity.py:61:0: C0301: Line too long (85/80) (line-too-long)
scripts/migrate_pulp_modularity.py:1:0: C0114: Missing module docstring (missing-module-docstring)
scripts/migrate_pulp_modularity.py:16:0: E0401: Unable to import 'hawkey' (import-error)
scripts/migrate_pulp_modularity.py:34:0: C0115: Missing class docstring (missing-class-docstring)
scripts/migrate_pulp_modularity.py:60:4: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:67:0: C0115: Missing class docstring (missing-class-docstring)
scripts/migrate_pulp_modularity.py:76:4: W0246: Useless parent or super() delegation in method '__eq__' (useless-parent-delegation)
scripts/migrate_pulp_modularity.py:90:0: C0115: Missing class docstring (missing-class-docstring)
scripts/migrate_pulp_modularity.py:110:4: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:114:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:131:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:145:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:161:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:170:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:183:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:216:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:220:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:233:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:233:0: R0913: Too many arguments (6/5) (too-many-arguments)
scripts/migrate_pulp_modularity.py:256:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:281:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:281:0: R0913: Too many arguments (6/5) (too-many-arguments)
scripts/migrate_pulp_modularity.py:321:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:346:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/migrate_pulp_modularity.py:346:0: R0914: Too many local variables (20/15) (too-many-locals)
scripts/migrate_pulp_modularity.py:375:23: R1734: Consider using [] instead of list() (use-list-literal)
scripts/migrate_pulp_modularity.py:10:0: W0611: Unused urljoin imported from urllib.parse (unused-import)
scripts/migrate_pulp_modularity.py:13:0: W0611: Unused import requests (unused-import)
scripts/migrate_pulp_modularity.py:17:0: W0611: Unused HTTPBasicAuth imported from requests.auth (unused-import)
************* Module alws.build_planner
alws/build_planner.py:652:9: W0511: TODO: Make sources build as first "arch" in all process (fixme)
alws/build_planner.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/build_planner.py:32:0: C0115: Missing class docstring (missing-class-docstring)
alws/build_planner.py:32:0: R0902: Too many instance attributes (15/7) (too-many-instance-attributes)
alws/build_planner.py:33:4: R0913: Too many arguments (6/5) (too-many-arguments)
alws/build_planner.py:59:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:87:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:104:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:119:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:130:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:158:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:177:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:207:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:211:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:254:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:280:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:282:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
alws/build_planner.py:328:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:328:4: R0914: Too many local variables (17/15) (too-many-locals)
alws/build_planner.py:379:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/build_planner.py:491:4: R0914: Too many local variables (23/15) (too-many-locals)
alws/build_planner.py:491:4: R0912: Too many branches (18/12) (too-many-branches)
alws/build_planner.py:491:4: R0915: Too many statements (54/50) (too-many-statements)
alws/build_planner.py:631:4: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.constants
alws/constants.py:218:0: C0301: Line too long (95/80) (line-too-long)
alws/constants.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/constants.py:50:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:57:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:82:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:91:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/constants.py:95:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/constants.py:106:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:114:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:121:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:122:4: C0103: Class constant name "proposal" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/constants.py:123:4: C0103: Class constant name "skipped" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/constants.py:124:4: C0103: Class constant name "released" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/constants.py:125:4: C0103: Class constant name "approved" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/constants.py:128:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:129:4: C0103: Class constant name "cve" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/constants.py:130:4: C0103: Class constant name "rhsa" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/constants.py:131:4: C0103: Class constant name "self_ref" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/constants.py:132:4: C0103: Class constant name "bugzilla" doesn't conform to UPPER_CASE naming style (invalid-name)
alws/constants.py:135:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:142:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:150:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:157:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:164:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:171:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/constants.py:175:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/constants.py:179:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:186:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:193:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:201:0: C0115: Missing class docstring (missing-class-docstring)
alws/constants.py:208:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/constants.py:212:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/constants.py:217:4: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.crud.build
alws/crud/build.py:211:13: W0511: TODO: we can get packages from pulp database (fixme)
alws/crud/build.py:406:9: W0511: FIXME (fixme)
alws/crud/build.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/crud/build.py:21:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build.py:94:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build.py:94:0: R0913: Too many arguments (16/5) (too-many-arguments)
alws/crud/build.py:94:0: R0914: Too many local variables (21/15) (too-many-locals)
alws/crud/build.py:233:27: E1102: func.count is not callable (not-callable)
alws/crud/build.py:128:4: R0912: Too many branches (13/12) (too-many-branches)
alws/crud/build.py:253:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build.py:274:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build.py:274:0: R0914: Too many local variables (20/15) (too-many-locals)
alws/crud/build.py:418:19: W0718: Catching too general exception Exception (broad-exception-caught)
************* Module alws.crud.build_node
alws/crud/build_node.py:806:0: C0301: Line too long (85/80) (line-too-long)
alws/crud/build_node.py:812:0: C0301: Line too long (82/80) (line-too-long)
alws/crud/build_node.py:1167:0: C0301: Line too long (86/80) (line-too-long)
alws/crud/build_node.py:1:0: C0302: Too many lines in module (1181/1000) (too-many-lines)
alws/crud/build_node.py:50:9: W0511: TODO: here should be config value (fixme)
alws/crud/build_node.py:561:1: W0511: TODO: Improve readability (fixme)
alws/crud/build_node.py:719:9: W0511: TODO: Beholder doesn't have authorization right now (fixme)
alws/crud/build_node.py:795:17: W0511: TODO: Pass module_pkgs_hrefs in packages field when (fixme)
alws/crud/build_node.py:1167:5: W0511: TODO: ALBS-705: Temporary solution that fixes integrity error with missing srpm, (fixme)
alws/crud/build_node.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/crud/build_node.py:45:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:99:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:100:4: W0613: Unused argument 'db' (unused-argument)
alws/crud/build_node.py:107:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:128:4: C0206: Consider iterating with .items() (consider-using-dict-items)
alws/crud/build_node.py:137:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:137:0: R0914: Too many local variables (16/15) (too-many-locals)
alws/crud/build_node.py:194:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:222:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:240:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:249:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:287:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:295:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:320:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:334:0: R0913: Too many arguments (10/5) (too-many-arguments)
alws/crud/build_node.py:334:0: R0914: Too many local variables (45/15) (too-many-locals)
alws/crud/build_node.py:384:12: W0707: Consider explicitly re-raising using 'raise ArtifactConversionError(f'Cannot put RPM packages into Pulp storage: {e}') from e' (raise-missing-from)
alws/crud/build_node.py:396:12: W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise RepositoryAddError(f'Cannot add RPM packages to the repository {str(repo)}') from exc' (raise-missing-from)
alws/crud/build_node.py:489:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/crud/build_node.py:511:12: W0715: Exception arguments suggest string formatting might be intended (raising-format-tuple)
alws/crud/build_node.py:334:0: R0912: Too many branches (27/12) (too-many-branches)
alws/crud/build_node.py:334:0: R0915: Too many statements (80/50) (too-many-statements)
alws/crud/build_node.py:533:8: W0707: Consider explicitly re-raising using 'raise ArtifactConversionError(f'Cannot create log files for {str(repository)}, error: {str(e)}') from e' (raise-missing-from)
alws/crud/build_node.py:555:8: W0707: Consider explicitly re-raising using 'raise RepositoryAddError('Cannot save build log into Pulp repository: %s', str(e)) from e' (raise-missing-from)
alws/crud/build_node.py:555:8: W0715: Exception arguments suggest string formatting might be intended (raising-format-tuple)
alws/crud/build_node.py:564:0: R0913: Too many arguments (6/5) (too-many-arguments)
alws/crud/build_node.py:564:0: R0914: Too many local variables (37/15) (too-many-locals)
alws/crud/build_node.py:752:17: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
alws/crud/build_node.py:753:17: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
alws/crud/build_node.py:564:0: R0912: Too many branches (14/12) (too-many-branches)
alws/crud/build_node.py:564:0: R0915: Too many statements (94/50) (too-many-statements)
alws/crud/build_node.py:924:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
alws/crud/build_node.py:959:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:1000:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:1018:11: W0718: Catching too general exception Exception (broad-exception-caught)
alws/crud/build_node.py:1076:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/build_node.py:1076:0: R0914: Too many local variables (16/15) (too-many-locals)
************* Module alws.crud.errata
alws/crud/errata.py:1:0: C0302: Too many lines in module (1704/1000) (too-many-lines)
alws/crud/errata.py:70:5: W0511: FIXME: ovallib dependency should stay optional (fixme)
alws/crud/errata.py:164:5: W0511: TODO: (fixme)
alws/crud/errata.py:223:29: W0511: TODO: Add test mapping here (fixme)
alws/crud/errata.py:1348:1: W0511: TODO: Check db_record (fixme)
alws/crud/errata.py:657:29: W1401: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
alws/crud/errata.py:657:31: W1401: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
alws/crud/errata.py:657:33: W1401: Anomalous backslash in string: '\-'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
alws/crud/errata.py:657:35: W1401: Anomalous backslash in string: '\_'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
alws/crud/errata.py:657:41: W1401: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
alws/crud/errata.py:657:43: W1401: Anomalous backslash in string: '\.'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
alws/crud/errata.py:657:45: W1401: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
alws/crud/errata.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/crud/errata.py:19:0: E0401: Unable to import 'createrepo_c' (import-error)
alws/crud/errata.py:96:0: C0115: Missing class docstring (missing-class-docstring)
alws/crud/errata.py:101:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:96:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/crud/errata.py:126:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:155:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:155:0: R0914: Too many local variables (33/15) (too-many-locals)
alws/crud/errata.py:175:4: R1702: Too many nested blocks (7/5) (too-many-nested-blocks)
alws/crud/errata.py:155:0: R0912: Too many branches (47/12) (too-many-branches)
alws/crud/errata.py:155:0: R0915: Too many statements (118/50) (too-many-statements)
alws/crud/errata.py:410:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:423:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:423:0: R0912: Too many branches (13/12) (too-many-branches)
alws/crud/errata.py:482:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:510:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:510:0: R0914: Too many local variables (24/15) (too-many-locals)
alws/crud/errata.py:560:19: W0718: Catching too general exception Exception (broad-exception-caught)
alws/crud/errata.py:637:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:637:0: R0914: Too many local variables (24/15) (too-many-locals)
alws/crud/errata.py:716:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/crud/errata.py:807:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:833:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:833:0: R0913: Too many arguments (9/5) (too-many-arguments)
alws/crud/errata.py:865:23: E1102: func.count is not callable (not-callable)
alws/crud/errata.py:907:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:948:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:948:0: R0913: Too many arguments (7/5) (too-many-arguments)
alws/crud/errata.py:948:0: R0914: Too many local variables (25/15) (too-many-locals)
alws/crud/errata.py:1084:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1150:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1216:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1216:0: R0914: Too many local variables (19/15) (too-many-locals)
alws/crud/errata.py:1269:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1330:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1349:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1349:0: R0913: Too many arguments (7/5) (too-many-arguments)
alws/crud/errata.py:1402:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1434:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/crud/errata.py:1462:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1462:0: R0914: Too many local variables (16/15) (too-many-locals)
alws/crud/errata.py:1512:19: W0718: Catching too general exception Exception (broad-exception-caught)
alws/crud/errata.py:1548:23: W0718: Catching too general exception Exception (broad-exception-caught)
alws/crud/errata.py:1567:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/errata.py:1567:0: R0912: Too many branches (13/12) (too-many-branches)
alws/crud/errata.py:1657:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.crud.products
alws/crud/products.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/crud/products.py:36:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/products.py:36:0: R0914: Too many local variables (23/15) (too-many-locals)
alws/crud/products.py:152:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/products.py:193:27: E1102: func.count is not callable (not-callable)
alws/crud/products.py:224:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/products.py:289:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.crud.test
alws/crud/test.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/crud/test.py:31:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:66:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:179:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:202:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:217:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:275:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:317:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:345:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:393:8: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
alws/crud/test.py:396:8: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
alws/crud/test.py:404:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:431:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:431:0: R0914: Too many local variables (17/15) (too-many-locals)
alws/crud/test.py:485:11: W0718: Catching too general exception Exception (broad-exception-caught)
alws/crud/test.py:469:4: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
alws/crud/test.py:431:0: R0912: Too many branches (17/12) (too-many-branches)
alws/crud/test.py:510:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/crud/test.py:536:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.dependencies
alws/dependencies.py:23:1: W0511: FIXME: `get_current_user` dependency causes a transaction (fixme)
alws/dependencies.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/dependencies.py:26:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dependencies.py:35:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dependencies.py:45:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dependencies.py:53:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.dramatiq.build
alws/dramatiq/build.py:96:0: C0301: Line too long (84/80) (line-too-long)
alws/dramatiq/build.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/dramatiq/build.py:53:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/build.py:68:0: R0914: Too many local variables (17/15) (too-many-locals)
alws/dramatiq/build.py:158:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/dramatiq/build.py:169:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/dramatiq/build.py:213:23: W0718: Catching too general exception Exception (broad-exception-caught)
alws/dramatiq/build.py:250:23: E1102: func.count is not callable (not-callable)
alws/dramatiq/build.py:258:23: E1102: func.count is not callable (not-callable)
alws/dramatiq/build.py:289:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/build.py:307:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.dramatiq.products
alws/dramatiq/products.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/dramatiq/products.py:24:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/products.py:41:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/products.py:109:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/products.py:109:0: R0914: Too many local variables (18/15) (too-many-locals)
alws/dramatiq/products.py:164:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/products.py:165:4: W0613: Unused argument 'db' (unused-argument)
alws/dramatiq/products.py:187:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/products.py:188:4: W0613: Unused argument 'db' (unused-argument)
alws/dramatiq/products.py:212:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/products.py:221:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/dramatiq/products.py:360:11: W0718: Catching too general exception Exception (broad-exception-caught)
alws/dramatiq/products.py:376:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.models
alws/models.py:1557:0: C0301: Line too long (83/80) (line-too-long)
alws/models.py:1607:0: C0301: Line too long (85/80) (line-too-long)
alws/models.py:1:0: C0302: Too many lines in module (2121/1000) (too-many-lines)
alws/models.py:59:9: W0511: FIXME: Change nullable to False after owner population (fixme)
alws/models.py:78:9: W0511: FIXME: Change nullable to False after owner population (fixme)
alws/models.py:1013:5: W0511: FIXME: change nullable to False after population (fixme)
alws/models.py:1247:5: W0511: FIXME: change nullable to False after population (fixme)
alws/models.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/models.py:56:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:58:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:58:4: E0213: Method 'team_id' should have "self" as first argument (no-self-argument)
alws/models.py:70:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:70:4: E0213: Method 'team' should have "self" as first argument (no-self-argument)
alws/models.py:75:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:77:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:77:4: E0213: Method 'owner_id' should have "self" as first argument (no-self-argument)
alws/models.py:89:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:89:4: E0213: Method 'owner' should have "self" as first argument (no-self-argument)
alws/models.py:97:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:110:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:127:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:129:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:129:4: E0213: Method 'started_at' should have "self" as first argument (no-self-argument)
alws/models.py:133:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:133:4: E0213: Method 'finished_at' should have "self" as first argument (no-self-argument)
alws/models.py:229:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:285:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:289:45: E1101: Instance of 'CustomRepoRepr' has no 'name' member (no-member)
alws/models.py:289:57: E1101: Instance of 'CustomRepoRepr' has no 'arch' member (no-member)
alws/models.py:289:69: E1101: Instance of 'CustomRepoRepr' has no 'url' member (no-member)
alws/models.py:292:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:333:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:333:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:386:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:393:16: E1102: func.current_timestamp is not callable (not-callable)
alws/models.py:493:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:573:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:573:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:588:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:603:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:610:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:641:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:654:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:654:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:678:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:678:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:704:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:704:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:740:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:846:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:857:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:857:4: E0213: Method 'user_id' should have "self" as first argument (no-self-argument)
alws/models.py:865:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:873:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:873:4: E0213: Method 'user_id' should have "self" as first argument (no-self-argument)
alws/models.py:881:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:881:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:916:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1006:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1048:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1052:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1056:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1108:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1108:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1123:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1123:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1150:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1150:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1170:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1170:0: R0901: Too many ancestors (8/7) (too-many-ancestors)
alws/models.py:1180:16: E1102: func.current_timestamp is not callable (not-callable)
alws/models.py:1242:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1295:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1295:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1313:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1344:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1344:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1355:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1355:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1376:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1394:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1518:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1523:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1528:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1540:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1540:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1579:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1579:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1623:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1681:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1681:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
alws/models.py:1686:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1686:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
alws/models.py:1690:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1697:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1816:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1821:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1826:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1838:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1838:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1875:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1875:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1887:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1887:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:1919:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1977:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1977:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
alws/models.py:1982:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1982:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
alws/models.py:1986:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/models.py:1992:0: C0115: Missing class docstring (missing-class-docstring)
alws/models.py:1992:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/models.py:2115:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.pulp_models
alws/pulp_models.py:453:0: C0301: Line too long (84/80) (line-too-long)
alws/pulp_models.py:506:0: C0301: Line too long (85/80) (line-too-long)
alws/pulp_models.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/pulp_models.py:12:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:12:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:44:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:44:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:71:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:71:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:109:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:109:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:139:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:139:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:178:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:178:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:210:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:248:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/pulp_models.py:252:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:252:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:290:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:290:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:334:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:334:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:387:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:452:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/pulp_models.py:459:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/pulp_models.py:463:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/pulp_models.py:471:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/pulp_models.py:474:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/pulp_models.py:484:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:505:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/pulp_models.py:509:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:509:0: R0903: Too few public methods (1/2) (too-few-public-methods)
alws/pulp_models.py:523:0: C0115: Missing class docstring (missing-class-docstring)
alws/pulp_models.py:523:0: R0903: Too few public methods (1/2) (too-few-public-methods)
************* Module alws.release_planner
alws/release_planner.py:477:0: C0301: Line too long (81/80) (line-too-long)
alws/release_planner.py:1461:0: C0301: Line too long (111/80) (line-too-long)
alws/release_planner.py:1766:0: C0301: Line too long (115/80) (line-too-long)
alws/release_planner.py:1:0: C0302: Too many lines in module (1911/1000) (too-many-lines)
alws/release_planner.py:542:13: W0511: TODO: Add packages presence check in community repos (fixme)
alws/release_planner.py:828:9: W0511: TODO: Add support for checking existent packages in repos (fixme)
alws/release_planner.py:1598:25: W0511: TODO: need to send only one repo instead of list (fixme)
alws/release_planner.py:1793:17: W0511: TODO: we already have all repos in self.base_platform.repos, (fixme)
alws/release_planner.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/release_planner.py:71:0: C0115: Missing class docstring (missing-class-docstring)
alws/release_planner.py:90:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:108:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/release_planner.py:121:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:158:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:165:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:169:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:179:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:187:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:194:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:194:22: W0613: Unused argument 'build' (unused-argument)
alws/release_planner.py:198:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:201:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:211:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:248:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:248:4: R0914: Too many local variables (25/15) (too-many-locals)
alws/release_planner.py:366:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:379:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:423:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:509:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:553:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:582:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/release_planner.py:605:23: W0718: Catching too general exception Exception (broad-exception-caught)
alws/release_planner.py:629:0: C0115: Missing class docstring (missing-class-docstring)
alws/release_planner.py:655:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:666:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:699:4: R0914: Too many local variables (25/15) (too-many-locals)
alws/release_planner.py:718:12: W0612: Unused variable 'src_rpm_names' (unused-variable)
alws/release_planner.py:799:4: R0914: Too many local variables (27/15) (too-many-locals)
alws/release_planner.py:913:0: C0115: Missing class docstring (missing-class-docstring)
alws/release_planner.py:980:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:980:4: R0914: Too many local variables (30/15) (too-many-locals)
alws/release_planner.py:980:4: R0912: Too many branches (14/12) (too-many-branches)
alws/release_planner.py:1076:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:1095:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:1095:4: R0913: Too many arguments (6/5) (too-many-arguments)
alws/release_planner.py:1118:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:1171:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:1171:4: R0913: Too many arguments (7/5) (too-many-arguments)
alws/release_planner.py:1212:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:1212:4: R0913: Too many arguments (8/5) (too-many-arguments)
alws/release_planner.py:1212:4: R0914: Too many local variables (20/15) (too-many-locals)
alws/release_planner.py:1298:4: W0237: Parameter 'base_platform' has been renamed to 'build_ids' in overriding 'AlmaLinuxReleasePlanner.get_release_plan' method (arguments-renamed)
alws/release_planner.py:1298:4: W0237: Parameter 'build_ids' has been renamed to 'base_platform' in overriding 'AlmaLinuxReleasePlanner.get_release_plan' method (arguments-renamed)
alws/release_planner.py:1298:4: R0914: Too many local variables (67/15) (too-many-locals)
alws/release_planner.py:1298:4: R0912: Too many branches (32/12) (too-many-branches)
alws/release_planner.py:1298:4: R0915: Too many statements (122/50) (too-many-statements)
alws/release_planner.py:1619:4: R0914: Too many local variables (46/15) (too-many-locals)
alws/release_planner.py:1641:16: W0707: Consider explicitly re-raising using 'raise SignError(msg) from e' (raise-missing-from)
alws/release_planner.py:1619:4: R0912: Too many branches (27/12) (too-many-branches)
alws/release_planner.py:1619:4: R0915: Too many statements (92/50) (too-many-statements)
alws/release_planner.py:1822:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/release_planner.py:1904:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.routers.build_node
alws/routers/build_node.py:125:5: W0511: TODO: Get rid of this fixes when all affected builds would be processed (fixme)
alws/routers/build_node.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/routers/build_node.py:24:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/build_node.py:35:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/build_node.py:58:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/build_node.py:69:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
alws/routers/build_node.py:58:0: R0912: Too many branches (22/12) (too-many-branches)
************* Module alws.routers.products
alws/routers/products.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/routers/products.py:39:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/products.py:40:4: C0103: Argument name "pageNumber" doesn't conform to snake_case naming style (invalid-name)
alws/routers/products.py:50:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/products.py:53:4: W0613: Unused argument 'user' (unused-argument)
alws/routers/products.py:68:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/products.py:85:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/products.py:98:8: W0707: Consider explicitly re-raising using 'raise HTTPException(detail=str(exc), status_code=status.HTTP_400_BAD_REQUEST) from exc' (raise-missing-from)
alws/routers/products.py:108:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/products.py:123:8: W0707: Consider explicitly re-raising using 'raise HTTPException(detail=str(exc), status_code=status.HTTP_400_BAD_REQUEST) from exc' (raise-missing-from)
alws/routers/products.py:133:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/products.py:145:8: W0707: Consider explicitly re-raising using 'raise HTTPException(detail=str(exc), status_code=status.HTTP_400_BAD_REQUEST) from exc' (raise-missing-from)
alws/routers/products.py:155:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.routers.projects
alws/routers/projects.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/routers/projects.py:22:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/projects.py:31:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.routers.sign_task
alws/routers/sign_task.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/routers/sign_task.py:28:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/sign_task.py:35:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/sign_task.py:47:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/sign_task.py:51:7: R1729: Use a generator instead 'any(not result.get(item) for item in ['build_id', 'id', 'keyid', 'packages'])' (use-a-generator)
alws/routers/sign_task.py:65:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/sign_task.py:86:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/sign_task.py:111:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/sign_task.py:133:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/routers/sign_task.py:135:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
alws/routers/sign_task.py:150:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.routers.uploads
alws/routers/uploads.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/routers/uploads.py:18:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.schemas.build_schema
alws/schemas/build_schema.py:525:0: C0301: Line too long (82/80) (line-too-long)
alws/schemas/build_schema.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/schemas/build_schema.py:39:56: W0108: Lambda may not be necessary (unnecessary-lambda)
alws/schemas/build_schema.py:42:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:47:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:61:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:66:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:67:24: E1135: Value 'self.git_ref' doesn't support membership test (unsupported-membership-test)
alws/schemas/build_schema.py:72:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:72:4: E0213: Method 'ref_type_validator' should have "self" as first argument (no-self-argument)
alws/schemas/build_schema.py:77:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:80:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:88:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:88:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:92:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:102:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:102:4: E0213: Method 'refs_validator' should have "self" as first argument (no-self-argument)
alws/schemas/build_schema.py:110:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:124:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:136:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:142:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:142:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:146:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:153:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:153:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:157:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:163:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:163:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:167:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:174:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:174:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:178:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:186:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:186:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:190:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:210:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:210:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:214:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:219:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:219:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:223:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:228:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:228:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:232:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:236:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:236:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:240:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:244:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:244:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:248:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:264:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:264:4: E0213: Method 'linked_builds_validator' should have "self" as first argument (no-self-argument)
alws/schemas/build_schema.py:267:4: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:267:4: R0903: Too few public methods (0/2) (too-few-public-methods)
alws/schemas/build_schema.py:271:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:277:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:284:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:294:0: C0115: Missing class docstring (missing-class-docstring)
alws/schemas/build_schema.py:303:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:314:11: W0718: Catching too general exception Exception (broad-exception-caught)
alws/schemas/build_schema.py:324:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:354:0: R0913: Too many arguments (8/5) (too-many-arguments)
alws/schemas/build_schema.py:354:0: R0914: Too many local variables (23/15) (too-many-locals)
alws/schemas/build_schema.py:431:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/schemas/build_schema.py:431:0: R0914: Too many local variables (32/15) (too-many-locals)
alws/schemas/build_schema.py:431:0: R0912: Too many branches (16/12) (too-many-branches)
alws/schemas/build_schema.py:431:0: R0915: Too many statements (55/50) (too-many-statements)
************* Module alws.scripts.albs-gitea-listener.gitea_listener
alws/scripts/albs-gitea-listener/gitea_listener.py:19:0: E0401: Unable to import 'git_cacher' (import-error)
alws/scripts/albs-gitea-listener/gitea_listener.py:20:0: E0401: Unable to import 'gitea_models' (import-error)
alws/scripts/albs-gitea-listener/gitea_listener.py:21:0: E0401: Unable to import 'paho.mqtt' (import-error)
alws/scripts/albs-gitea-listener/gitea_listener.py:23:0: E0401: Unable to import 'ruamel.yaml' (import-error)
alws/scripts/albs-gitea-listener/gitea_listener.py:28:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/scripts/albs-gitea-listener/gitea_listener.py:33:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/scripts/albs-gitea-listener/gitea_listener.py:71:12: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
alws/scripts/albs-gitea-listener/gitea_listener.py:73:12: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
alws/scripts/albs-gitea-listener/gitea_listener.py:54:19: W0613: Unused argument 'client' (unused-argument)
alws/scripts/albs-gitea-listener/gitea_listener.py:54:27: W0613: Unused argument 'userdata' (unused-argument)
alws/scripts/albs-gitea-listener/gitea_listener.py:54:37: W0613: Unused argument 'flags' (unused-argument)
alws/scripts/albs-gitea-listener/gitea_listener.py:124:15: W3101: Missing timeout argument for method 'getattr(requests, 'post')' can cause your program to hang indefinitely (missing-timeout)
alws/scripts/albs-gitea-listener/gitea_listener.py:196:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/scripts/albs-gitea-listener/gitea_listener.py:159:12: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
alws/scripts/albs-gitea-listener/gitea_listener.py:191:19: W0718: Catching too general exception Exception (broad-exception-caught)
alws/scripts/albs-gitea-listener/gitea_listener.py:179:20: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
alws/scripts/albs-gitea-listener/gitea_listener.py:192:16: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
alws/scripts/albs-gitea-listener/gitea_listener.py:197:12: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
alws/scripts/albs-gitea-listener/gitea_listener.py:141:27: W0613: Unused argument 'userdata' (unused-argument)
alws/scripts/albs-gitea-listener/gitea_listener.py:224:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
alws/scripts/albs-gitea-listener/gitea_listener.py:227:4: W0603: Using the global statement (global-statement)
************* Module alws.scripts.git_cacher.git_cacher
alws/scripts/git_cacher/git_cacher.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/scripts/git_cacher/git_cacher.py:15:0: C0115: Missing class docstring (missing-class-docstring)
alws/scripts/git_cacher/git_cacher.py:27:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/scripts/git_cacher/git_cacher.py:34:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/scripts/git_cacher/git_cacher.py:38:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/scripts/git_cacher/git_cacher.py:51:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/scripts/git_cacher/git_cacher.py:51:0: R0914: Too many local variables (16/15) (too-many-locals)
alws/scripts/git_cacher/git_cacher.py:92:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/scripts/git_cacher/git_cacher.py:110:8: W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
************* Module alws.utils.modularity
alws/utils/modularity.py:52:0: C0325: Unnecessary parens after 'raise' keyword (superfluous-parens)
alws/utils/modularity.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/utils/modularity.py:11:0: E0401: Unable to import 'gi' (import-error)
alws/utils/modularity.py:17:0: E0401: Unable to import 'gi.repository' (import-error)
alws/utils/modularity.py:17:0: C0413: Import "from gi.repository import Modulemd" should be placed at the top of the module (wrong-import-position)
alws/utils/modularity.py:20:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:20:0: R0913: Too many arguments (6/5) (too-many-arguments)
alws/utils/modularity.py:35:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:45:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:48:15: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
alws/utils/modularity.py:67:15: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
alws/utils/modularity.py:45:0: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
alws/utils/modularity.py:72:0: C0115: Missing class docstring (missing-class-docstring)
alws/utils/modularity.py:82:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:86:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:89:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:99:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
alws/utils/modularity.py:126:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:136:0: C0115: Missing class docstring (missing-class-docstring)
alws/utils/modularity.py:141:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:145:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:149:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:153:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:178:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:184:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:187:17: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
alws/utils/modularity.py:191:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:191:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
alws/utils/modularity.py:204:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:204:4: R0912: Too many branches (20/12) (too-many-branches)
alws/utils/modularity.py:255:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:261:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:278:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:288:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:294:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:300:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:308:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:315:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:337:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:340:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:343:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:349:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:352:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:359:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:363:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:378:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:389:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:417:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:423:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:429:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:433:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:437:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:441:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:449:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:457:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:136:0: R0904: Too many public methods (33/20) (too-many-public-methods)
alws/utils/modularity.py:465:0: C0115: Missing class docstring (missing-class-docstring)
alws/utils/modularity.py:472:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:487:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:496:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:499:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:505:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:511:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/modularity.py:514:4: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alws.utils.multilib
alws/utils/multilib.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/utils/multilib.py:30:0: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:55:0: C0115: Missing class docstring (missing-class-docstring)
alws/utils/multilib.py:80:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:88:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/utils/multilib.py:94:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:114:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:127:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:143:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:143:4: R0913: Too many arguments (6/5) (too-many-arguments)
alws/utils/multilib.py:180:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:201:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:221:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:236:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:236:4: R0914: Too many local variables (17/15) (too-many-locals)
alws/utils/multilib.py:297:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:314:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:340:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/multilib.py:387:12: W0715: Exception arguments suggest string formatting might be intended (raising-format-tuple)
************* Module alws.utils.pulp_client
alws/utils/pulp_client.py:460:0: C0301: Line too long (85/80) (line-too-long)
alws/utils/pulp_client.py:1:0: C0302: Too many lines in module (1018/1000) (too-many-lines)
alws/utils/pulp_client.py:247:5: W0511: TODO: Get rid of this after uploader is updated to work (fixme)
alws/utils/pulp_client.py:460:9: W0511: TODO: write description here, what should be done in rollback in real world (fixme)
alws/utils/pulp_client.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/utils/pulp_client.py:28:0: C0115: Missing class docstring (missing-class-docstring)
alws/utils/pulp_client.py:46:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:59:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:67:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:72:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:94:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:99:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:109:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:112:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:125:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:133:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:143:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:151:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:165:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:173:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:181:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:194:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:202:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:214:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:222:17: R1734: Consider using [] instead of list() (use-list-literal)
alws/utils/pulp_client.py:249:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:255:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:274:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:274:4: R0913: Too many arguments (12/5) (too-many-arguments)
alws/utils/pulp_client.py:274:4: R0914: Too many local variables (16/15) (too-many-locals)
alws/utils/pulp_client.py:313:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:332:4: R0914: Too many local variables (16/15) (too-many-locals)
alws/utils/pulp_client.py:367:15: W0718: Catching too general exception Exception (broad-exception-caught)
alws/utils/pulp_client.py:399:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:428:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:444:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:459:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:463:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:497:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:504:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:510:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:519:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:541:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:571:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:588:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:602:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:606:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:610:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:644:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:687:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:704:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:720:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:732:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:758:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:788:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:796:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:822:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:834:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:839:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:842:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
alws/utils/pulp_client.py:847:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:850:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:859:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:866:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:890:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:909:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:912:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:922:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:937:12: W0719: Raising too general exception: Exception (broad-exception-raised)
alws/utils/pulp_client.py:940:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:951:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:961:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:967:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/pulp_client.py:967:4: R0913: Too many arguments (9/5) (too-many-arguments)
alws/utils/pulp_client.py:973:8: W0621: Redefining name 'json' from outer scope (line 3) (redefined-outer-name)
alws/utils/pulp_client.py:28:0: R0904: Too many public methods (63/20) (too-many-public-methods)
************* Module alws.utils.uploader
alws/utils/uploader.py:54:5: W0511: TODO: Update this to work with new modularity workflow, see (fixme)
alws/utils/uploader.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alws/utils/uploader.py:20:0: C0115: Missing class docstring (missing-class-docstring)
alws/utils/uploader.py:28:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/uploader.py:45:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/uploader.py:56:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/uploader.py:56:4: R0914: Too many local variables (29/15) (too-many-locals)
alws/utils/uploader.py:163:19: E1101: Class 'BuildTask' has no 'rpm_module_id' member (no-member)
alws/utils/uploader.py:79:23: W0612: Unused variable 'sha256' (unused-variable)
alws/utils/uploader.py:195:4: C0116: Missing function or method docstring (missing-function-docstring)
alws/utils/uploader.py:221:12: W0707: Consider explicitly re-raising using 'raise UploadError(exc.message, exc.status) from exc' (raise-missing-from)
alws/utils/uploader.py:223:12: W0707: Consider explicitly re-raising using 'raise UploadError(str(exc)) from exc' (raise-missing-from)
************* Module scripts.bootstrap_repositories
scripts/bootstrap_repositories.py:281:0: C0301: Line too long (82/80) (line-too-long)
scripts/bootstrap_repositories.py:1:0: C0114: Missing module docstring (missing-module-docstring)
scripts/bootstrap_repositories.py:7:0: C0413: Import "import argparse" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:8:0: C0413: Import "import logging" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:10:0: C0413: Import "import yaml" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:11:0: C0413: Import "from syncer import sync" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:13:0: C0413: Import "from alws import database" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:14:0: C0413: Import "from alws.crud import platform as pl_crud" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:15:0: C0413: Import "from alws.crud import repository as repo_crud" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:16:0: C0413: Import "from alws.schemas import platform_schema, remote_schema, repository_schema" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:17:0: C0413: Import "from alws.utils.pulp_client import PulpClient" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_repositories.py:22:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:70:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:144:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:159:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:168:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:175:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:182:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:189:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:210:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_repositories.py:210:0: R0914: Too many local variables (31/15) (too-many-locals)
scripts/bootstrap_repositories.py:221:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
scripts/bootstrap_repositories.py:342:19: W0718: Catching too general exception Exception (broad-exception-caught)
scripts/bootstrap_repositories.py:210:0: R0912: Too many branches (18/12) (too-many-branches)
scripts/bootstrap_repositories.py:210:0: R0915: Too many statements (70/50) (too-many-statements)
************* Module tests.fixtures.pulp
tests/fixtures/pulp.py:66:0: C0301: Line too long (96/80) (line-too-long)
tests/fixtures/pulp.py:70:0: C0301: Line too long (105/80) (line-too-long)
tests/fixtures/pulp.py:74:0: C0301: Line too long (97/80) (line-too-long)
tests/fixtures/pulp.py:78:0: C0301: Line too long (98/80) (line-too-long)
tests/fixtures/pulp.py:91:0: C0301: Line too long (96/80) (line-too-long)
tests/fixtures/pulp.py:95:0: C0301: Line too long (105/80) (line-too-long)
tests/fixtures/pulp.py:99:0: C0301: Line too long (97/80) (line-too-long)
tests/fixtures/pulp.py:103:0: C0301: Line too long (98/80) (line-too-long)
tests/fixtures/pulp.py:124:0: C0301: Line too long (97/80) (line-too-long)
tests/fixtures/pulp.py:144:0: C0301: Line too long (97/80) (line-too-long)
tests/fixtures/pulp.py:250:0: C0301: Line too long (101/80) (line-too-long)
tests/fixtures/pulp.py:253:0: C0301: Line too long (89/80) (line-too-long)
tests/fixtures/pulp.py:282:0: C0301: Line too long (91/80) (line-too-long)
tests/fixtures/pulp.py:285:0: C0301: Line too long (98/80) (line-too-long)
tests/fixtures/pulp.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/fixtures/pulp.py:26:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:35:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:36:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:36:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:43:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:44:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:44:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:53:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:61:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:86:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:111:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:112:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:159:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:160:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:160:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:167:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:168:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:168:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:175:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:176:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:176:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:183:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:184:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:211:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:212:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:223:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:224:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:224:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:261:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:262:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:262:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:293:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:294:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:294:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:304:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:316:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:334:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:335:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:346:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:350:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:361:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:365:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:376:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:380:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:391:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:395:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:406:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:410:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:421:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:425:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:425:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:423:4: W0613: Unused argument 'modular_build_payload' (unused-argument)
tests/fixtures/pulp.py:432:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:433:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:444:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:445:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:445:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:452:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:453:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:453:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:465:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:466:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:466:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/fixtures/pulp.py:473:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/fixtures/pulp.py:474:0: W0613: Unused argument 'args' (unused-argument)
tests/fixtures/pulp.py:474:0: W0613: Unused argument 'kwargs' (unused-argument)
************* Module tests.test_api.test_builds
tests/test_api/test_builds.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_api/test_builds.py:10:0: C0115: Missing class docstring (missing-class-docstring)
tests/test_api/test_builds.py:12:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:21:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:24:8: W0613: Unused argument 'start_build' (unused-argument)
tests/test_api/test_builds.py:46:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:58:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:69:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:86:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:88:8: W0613: Unused argument 'create_errata' (unused-argument)
tests/test_api/test_builds.py:89:8: W0613: Unused argument 'build_done' (unused-argument)
tests/test_api/test_builds.py:91:8: W0613: Unused argument 'delete_by_href' (unused-argument)
tests/test_api/test_builds.py:105:0: C0115: Missing class docstring (missing-class-docstring)
tests/test_api/test_builds.py:106:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:106:4: R0913: Too many arguments (6/5) (too-many-arguments)
tests/test_api/test_builds.py:110:8: W0613: Unused argument 'virt_modular_build' (unused-argument)
tests/test_api/test_builds.py:111:8: W0613: Unused argument 'virt_build_done' (unused-argument)
tests/test_api/test_builds.py:147:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:147:4: R0913: Too many arguments (6/5) (too-many-arguments)
tests/test_api/test_builds.py:151:8: W0613: Unused argument 'ruby_modular_build' (unused-argument)
tests/test_api/test_builds.py:152:8: W0613: Unused argument 'ruby_build_done' (unused-argument)
tests/test_api/test_builds.py:188:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:188:4: R0913: Too many arguments (6/5) (too-many-arguments)
tests/test_api/test_builds.py:192:8: W0613: Unused argument 'subversion_modular_build' (unused-argument)
tests/test_api/test_builds.py:193:8: W0613: Unused argument 'subversion_build_done' (unused-argument)
tests/test_api/test_builds.py:228:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_builds.py:228:4: R0913: Too many arguments (6/5) (too-many-arguments)
tests/test_api/test_builds.py:232:8: W0613: Unused argument 'llvm_modular_build' (unused-argument)
tests/test_api/test_builds.py:233:8: W0613: Unused argument 'llvm_build_done' (unused-argument)
************* Module tests.test_api.test_releases
tests/test_api/test_releases.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_api/test_releases.py:10:0: C0115: Missing class docstring (missing-class-docstring)
tests/test_api/test_releases.py:11:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_releases.py:19:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_releases.py:19:4: R0913: Too many arguments (8/5) (too-many-arguments)
tests/test_api/test_releases.py:23:8: W0613: Unused argument 'create_errata' (unused-argument)
tests/test_api/test_releases.py:24:8: W0613: Unused argument 'build_done' (unused-argument)
tests/test_api/test_releases.py:26:8: W0613: Unused argument 'get_pulp_packages_info' (unused-argument)
tests/test_api/test_releases.py:27:8: W0613: Unused argument 'disable_packages_check_in_prod_repos' (unused-argument)
tests/test_api/test_releases.py:45:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_releases.py:45:4: R0913: Too many arguments (6/5) (too-many-arguments)
tests/test_api/test_releases.py:49:8: W0613: Unused argument 'modular_build_done' (unused-argument)
tests/test_api/test_releases.py:51:8: W0613: Unused argument 'get_pulp_packages_info' (unused-argument)
tests/test_api/test_releases.py:71:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_releases.py:71:4: R0913: Too many arguments (7/5) (too-many-arguments)
tests/test_api/test_releases.py:75:8: W0613: Unused argument 'disable_packages_check_in_prod_repos' (unused-argument)
tests/test_api/test_releases.py:76:8: W0613: Unused argument 'disable_sign_verify' (unused-argument)
tests/test_api/test_releases.py:77:8: W0613: Unused argument 'modify_repository' (unused-argument)
tests/test_api/test_releases.py:78:8: W0613: Unused argument 'create_rpm_publication' (unused-argument)
tests/test_api/test_releases.py:106:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_releases.py:106:4: R0913: Too many arguments (8/5) (too-many-arguments)
tests/test_api/test_releases.py:110:8: W0613: Unused argument 'modify_repository' (unused-argument)
tests/test_api/test_releases.py:111:8: W0613: Unused argument 'create_rpm_publication' (unused-argument)
tests/test_api/test_releases.py:112:8: W0613: Unused argument 'get_repo_modules_yaml' (unused-argument)
tests/test_api/test_releases.py:113:8: W0613: Unused argument 'create_module' (unused-argument)
tests/test_api/test_releases.py:114:8: W0613: Unused argument 'get_modules' (unused-argument)
tests/test_api/test_releases.py:142:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_releases.py:158:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_releases.py:162:8: W0613: Unused argument 'modify_repository' (unused-argument)
tests/test_api/test_releases.py:163:8: W0613: Unused argument 'create_rpm_publication' (unused-argument)
tests/test_api/test_releases.py:221:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_releases.py:225:8: W0613: Unused argument 'modify_repository' (unused-argument)
tests/test_api/test_releases.py:226:8: W0613: Unused argument 'create_rpm_publication' (unused-argument)
************* Module tests.test_api.test_uploads
tests/test_api/test_uploads.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_api/test_uploads.py:29:0: C0115: Missing class docstring (missing-class-docstring)
tests/test_api/test_uploads.py:30:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_uploads.py:33:8: W0613: Unused argument 'base_platform' (unused-argument)
tests/test_api/test_uploads.py:44:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_api/test_uploads.py:44:4: R0913: Too many arguments (7/5) (too-many-arguments)
tests/test_api/test_uploads.py:44:4: R0914: Too many local variables (16/15) (too-many-locals)
tests/test_api/test_uploads.py:67:35: E1101: Class 'BuildTask' has no 'rpm_module_id' member (no-member)
tests/test_api/test_uploads.py:48:8: W0613: Unused argument 'base_platform' (unused-argument)
tests/test_api/test_uploads.py:49:8: W0613: Unused argument 'base_product' (unused-argument)
tests/test_api/test_uploads.py:51:8: W0613: Unused argument 'start_modular_build' (unused-argument)
************* Module tests.test_unit.test_products
tests/test_unit/test_products.py:86:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:91:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:96:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:101:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:106:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:111:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:116:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:121:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:126:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:131:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:136:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:141:0: C0301: Line too long (90/80) (line-too-long)
tests/test_unit/test_products.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_unit/test_products.py:172:0: C0115: Missing class docstring (missing-class-docstring)
tests/test_unit/test_products.py:183:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_unit/test_products.py:190:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_unit/test_products.py:190:4: R0913: Too many arguments (7/5) (too-many-arguments)
tests/test_unit/test_products.py:193:8: W0613: Unused argument 'base_platform' (unused-argument)
tests/test_unit/test_products.py:194:8: W0613: Unused argument 'base_product' (unused-argument)
tests/test_unit/test_products.py:195:8: W0613: Unused argument 'create_build_rpm_repo' (unused-argument)
tests/test_unit/test_products.py:196:8: W0613: Unused argument 'create_log_repo' (unused-argument)
tests/test_unit/test_products.py:197:8: W0613: Unused argument 'modify_repository' (unused-argument)
tests/test_unit/test_products.py:224:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_unit/test_products.py:245:30: R1718: Consider using a set comprehension (consider-using-set-comprehension)
tests/test_unit/test_products.py:250:30: R1718: Consider using a set comprehension (consider-using-set-comprehension)
tests/test_unit/test_products.py:260:30: R1718: Consider using a set comprehension (consider-using-set-comprehension)
tests/test_unit/test_products.py:280:4: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_unit/test_products.py:1:0: R0801: Similar lines in 2 files
==alws.crud.errata:[552:564]
==alws.release_planner:[597:610]
                    )
                    if issues:
                        await move_issues(
                            github_client=github_client,
                            issues=issues,
                            status=GitHubIssueStatus.RELEASED,
                        )
                except Exception as err:
                    logging.exception(
                        "Cannot move issue to the Released section: %s",
                        err,
                    )
 (duplicate-code)
tests/test_unit/test_products.py:1:0: R0801: Similar lines in 2 files
==alws.utils.uploader:[180:189]
==tests.test_api.test_uploads:[83:92]
        for rpm_module in rpm_modules:
            for attr in (
                "name",
                "version",
                "stream",
                "context",
                "arch",
            ):
                module_value = str(getattr(module, attr)) (duplicate-code)
tests/test_unit/test_products.py:1:0: R0801: Similar lines in 2 files
==alws.crud.products:[313:323]
==alws.dramatiq.products:[302:312]
                selectinload(models.Build.tasks).selectinload(
                    models.BuildTask.rpm_modules
                ),
                selectinload(models.Build.tasks).selectinload(
                    models.BuildTask.platform
                ),
            ),
        )
        db_build = db_build.scalars().first()
 (duplicate-code)
tests/test_unit/test_products.py:1:0: R0801: Similar lines in 2 files
==alws.crud.errata:[1362:1368]
==alws.release_planner:[219:225]
            RpmPackage.name,
            RpmPackage.epoch,
            RpmPackage.version,
            RpmPackage.release,
            RpmPackage.arch,
        ] (duplicate-code)
tests/test_unit/test_products.py:1:0: R0801: Similar lines in 2 files
==alws.crud.errata:[594:600]
==alws.release_planner:[218:224]
            RpmPackage.content_ptr_id,
            RpmPackage.name,
            RpmPackage.epoch,
            RpmPackage.version,
            RpmPackage.release,
            RpmPackage.arch, (duplicate-code)
tests/test_unit/test_products.py:1:0: R0801: Similar lines in 2 files
==alws.crud.errata:[1362:1367]
==alws.utils.multilib:[304:309]
                RpmPackage.name,
                RpmPackage.epoch,
                RpmPackage.version,
                RpmPackage.release,
                RpmPackage.arch, (duplicate-code)
tests/test_unit/test_products.py:1:0: R0801: Similar lines in 2 files
==alws.build_planner:[146:151]
==alws.crud.products:[113:118]
        repo = models.Repository(
            name=repo_name,
            url=repo_url,
            arch=arch,
            pulp_href=pulp_href, (duplicate-code)

-----------------------------------
Your code has been rated at 8.24/10

@soksanichenko
Copy link
Member Author

#755

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant