msgram-parser 1.2.2rc1__tar.gz → 1.2.2rc2__tar.gz

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 (21) hide show
  1. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/PKG-INFO +21 -1
  2. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/README.md +20 -0
  3. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/plugins/dinamic/github.py +3 -3
  4. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/msgram_parser.egg-info/PKG-INFO +21 -1
  5. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/pyproject.toml +1 -1
  6. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/LICENSE +0 -0
  7. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/__init__.py +0 -0
  8. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/accept_plugins.py +0 -0
  9. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/genericparser.py +0 -0
  10. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/plugins/__init__.py +0 -0
  11. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/plugins/dinamic/__init__.py +0 -0
  12. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/plugins/domain/generic_class.py +0 -0
  13. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/plugins/statics/__init__.py +0 -0
  14. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/plugins/statics/sonarqube.py +0 -0
  15. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/genericparser/services/__init__.py +0 -0
  16. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/msgram_parser.egg-info/SOURCES.txt +0 -0
  17. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/msgram_parser.egg-info/dependency_links.txt +0 -0
  18. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/msgram_parser.egg-info/requires.txt +0 -0
  19. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/msgram_parser.egg-info/top_level.txt +0 -0
  20. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/setup.cfg +0 -0
  21. {msgram_parser-1.2.2rc1 → msgram_parser-1.2.2rc2}/tests/tests_main_file.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: msgram-parser
3
- Version: 1.2.2rc1
3
+ Version: 1.2.2rc2
4
4
  Summary: The msgram Parser is a PyPI library that serves as a repository for parsing metrics, meaning that it provides a collection of tools, functions, and resources specifically designed to handle and extract information from metric data.
5
5
  Author-email: MeasureSoftGram <measuresoftgram@gmail.com>
6
6
  License: GNU AFFERO GENERAL PUBLIC LICENSE
@@ -711,6 +711,26 @@ The MeasureSoftGram-Parser is responsible for parsing content from different sou
711
711
  pip install -r requirements.txt
712
712
  ```
713
713
 
714
+ ## How to run tests
715
+
716
+ ### Install dependencies
717
+
718
+ ```bash
719
+ pip install -r requirements.txt
720
+ ```
721
+
722
+ ### Run the test suite
723
+
724
+ ```bash
725
+ tox
726
+ ```
727
+
728
+ To run the tests for a specific package or file, pass it as an argument:
729
+
730
+ ```bash
731
+ tox <PACKAGE OR FILE>
732
+ ```
733
+
714
734
  ## Contribute
715
735
 
716
736
  Do you want to contribute with our project? Access our [contribution guide](./CONTRIBUTING.md) where we explain how you do it.
@@ -24,6 +24,26 @@ The MeasureSoftGram-Parser is responsible for parsing content from different sou
24
24
  pip install -r requirements.txt
25
25
  ```
26
26
 
27
+ ## How to run tests
28
+
29
+ ### Install dependencies
30
+
31
+ ```bash
32
+ pip install -r requirements.txt
33
+ ```
34
+
35
+ ### Run the test suite
36
+
37
+ ```bash
38
+ tox
39
+ ```
40
+
41
+ To run the tests for a specific package or file, pass it as an argument:
42
+
43
+ ```bash
44
+ tox <PACKAGE OR FILE>
45
+ ```
46
+
27
47
  ## Contribute
28
48
 
29
49
  Do you want to contribute with our project? Access our [contribution guide](./CONTRIBUTING.md) where we explain how you do it.
@@ -127,9 +127,9 @@ class ParserGithub(GenericStaticABC):
127
127
  input_file = kwargs.get("input_file")
128
128
  filters = kwargs.get("filters")
129
129
  token_from_github = (
130
- input_file.get("token", None)
131
- if type(input_file) is dict
132
- else None or os.environ.get("GITHUB_TOKEN", None) or self.token
130
+ (input_file.get("token") if isinstance(input_file, dict) else None)
131
+ or os.environ.get("GITHUB_TOKEN")
132
+ or self.token
133
133
  )
134
134
  repository = (
135
135
  input_file.get("repository", None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: msgram-parser
3
- Version: 1.2.2rc1
3
+ Version: 1.2.2rc2
4
4
  Summary: The msgram Parser is a PyPI library that serves as a repository for parsing metrics, meaning that it provides a collection of tools, functions, and resources specifically designed to handle and extract information from metric data.
5
5
  Author-email: MeasureSoftGram <measuresoftgram@gmail.com>
6
6
  License: GNU AFFERO GENERAL PUBLIC LICENSE
@@ -711,6 +711,26 @@ The MeasureSoftGram-Parser is responsible for parsing content from different sou
711
711
  pip install -r requirements.txt
712
712
  ```
713
713
 
714
+ ## How to run tests
715
+
716
+ ### Install dependencies
717
+
718
+ ```bash
719
+ pip install -r requirements.txt
720
+ ```
721
+
722
+ ### Run the test suite
723
+
724
+ ```bash
725
+ tox
726
+ ```
727
+
728
+ To run the tests for a specific package or file, pass it as an argument:
729
+
730
+ ```bash
731
+ tox <PACKAGE OR FILE>
732
+ ```
733
+
714
734
  ## Contribute
715
735
 
716
736
  Do you want to contribute with our project? Access our [contribution guide](./CONTRIBUTING.md) where we explain how you do it.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "msgram-parser"
7
- version = "1.2.2rc1"
7
+ version = "1.2.2rc2"
8
8
  description = "The msgram Parser is a PyPI library that serves as a repository for parsing metrics, meaning that it provides a collection of tools, functions, and resources specifically designed to handle and extract information from metric data."
9
9
  readme = "README.md"
10
10
  authors = [