hatch-xclam 0.7.0.dev12__py3-none-any.whl → 0.7.0.dev13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/METADATA +38 -32
  2. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/RECORD +6 -65
  3. hatch_xclam-0.7.0.dev13.dist-info/top_level.txt +2 -0
  4. hatch_xclam-0.7.0.dev12.dist-info/top_level.txt +0 -3
  5. node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  6. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  7. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  8. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1272
  9. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  10. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  11. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  12. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  13. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  14. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -704
  15. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -709
  16. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -173
  17. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -169
  18. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  19. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  20. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  21. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  22. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1172
  23. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1319
  24. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  25. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  26. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -462
  27. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  28. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  29. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2745
  30. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3976
  31. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  32. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2965
  33. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  34. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1391
  35. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  36. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3112
  37. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  38. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -767
  39. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1260
  40. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  41. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  42. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -373
  43. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  44. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  45. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -303
  46. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3196
  47. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  48. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  49. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -108
  50. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  51. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  52. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  53. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  54. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  55. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -252
  56. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -825
  57. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  58. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  59. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  60. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  61. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  62. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  63. node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py +0 -261
  64. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/WHEEL +0 -0
  65. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/entry_points.txt +0 -0
  66. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.0.dev13.dist-info}/licenses/LICENSE +0 -0
@@ -1,99 +0,0 @@
1
- #!/usr/bin/env python3
2
-
3
- # Copyright 2013 Google Inc. All rights reserved.
4
- # Use of this source code is governed by a BSD-style license that can be
5
- # found in the LICENSE file.
6
-
7
- """Unit tests for the input.py file."""
8
-
9
- import unittest
10
-
11
- import gyp.input
12
-
13
-
14
- class TestFindCycles(unittest.TestCase):
15
- def setUp(self):
16
- self.nodes = {}
17
- for x in ("a", "b", "c", "d", "e"):
18
- self.nodes[x] = gyp.input.DependencyGraphNode(x)
19
-
20
- def _create_dependency(self, dependent, dependency):
21
- dependent.dependencies.append(dependency)
22
- dependency.dependents.append(dependent)
23
-
24
- def test_no_cycle_empty_graph(self):
25
- for label, node in self.nodes.items():
26
- self.assertEqual([], node.FindCycles())
27
-
28
- def test_no_cycle_line(self):
29
- self._create_dependency(self.nodes["a"], self.nodes["b"])
30
- self._create_dependency(self.nodes["b"], self.nodes["c"])
31
- self._create_dependency(self.nodes["c"], self.nodes["d"])
32
-
33
- for label, node in self.nodes.items():
34
- self.assertEqual([], node.FindCycles())
35
-
36
- def test_no_cycle_dag(self):
37
- self._create_dependency(self.nodes["a"], self.nodes["b"])
38
- self._create_dependency(self.nodes["a"], self.nodes["c"])
39
- self._create_dependency(self.nodes["b"], self.nodes["c"])
40
-
41
- for label, node in self.nodes.items():
42
- self.assertEqual([], node.FindCycles())
43
-
44
- def test_cycle_self_reference(self):
45
- self._create_dependency(self.nodes["a"], self.nodes["a"])
46
-
47
- self.assertEqual(
48
- [[self.nodes["a"], self.nodes["a"]]], self.nodes["a"].FindCycles()
49
- )
50
-
51
- def test_cycle_two_nodes(self):
52
- self._create_dependency(self.nodes["a"], self.nodes["b"])
53
- self._create_dependency(self.nodes["b"], self.nodes["a"])
54
-
55
- self.assertEqual(
56
- [[self.nodes["a"], self.nodes["b"], self.nodes["a"]]],
57
- self.nodes["a"].FindCycles(),
58
- )
59
- self.assertEqual(
60
- [[self.nodes["b"], self.nodes["a"], self.nodes["b"]]],
61
- self.nodes["b"].FindCycles(),
62
- )
63
-
64
- def test_two_cycles(self):
65
- self._create_dependency(self.nodes["a"], self.nodes["b"])
66
- self._create_dependency(self.nodes["b"], self.nodes["a"])
67
-
68
- self._create_dependency(self.nodes["b"], self.nodes["c"])
69
- self._create_dependency(self.nodes["c"], self.nodes["b"])
70
-
71
- cycles = self.nodes["a"].FindCycles()
72
- self.assertTrue([self.nodes["a"], self.nodes["b"], self.nodes["a"]] in cycles)
73
- self.assertTrue([self.nodes["b"], self.nodes["c"], self.nodes["b"]] in cycles)
74
- self.assertEqual(2, len(cycles))
75
-
76
- def test_big_cycle(self):
77
- self._create_dependency(self.nodes["a"], self.nodes["b"])
78
- self._create_dependency(self.nodes["b"], self.nodes["c"])
79
- self._create_dependency(self.nodes["c"], self.nodes["d"])
80
- self._create_dependency(self.nodes["d"], self.nodes["e"])
81
- self._create_dependency(self.nodes["e"], self.nodes["a"])
82
-
83
- self.assertEqual(
84
- [
85
- [
86
- self.nodes["a"],
87
- self.nodes["b"],
88
- self.nodes["c"],
89
- self.nodes["d"],
90
- self.nodes["e"],
91
- self.nodes["a"],
92
- ]
93
- ],
94
- self.nodes["a"].FindCycles(),
95
- )
96
-
97
-
98
- if __name__ == "__main__":
99
- unittest.main()