dependabot[bot]
127fc8388c
build(deps): update tree-sitter-python requirement
...
Updates the requirements on [tree-sitter-python](https://github.com/tree-sitter/tree-sitter-python ) to permit the latest version.
- [Commits](https://github.com/tree-sitter/tree-sitter-python/compare/v0.21.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: tree-sitter-python
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 22:38:21 +00:00
Marco Castelluccio
e0a5c03a3e
Update Debian image used in CI from buster to bookworm ( #1093 )
...
* Update Debian image used in CI from buster to bookworm
* Try not installing pip
* Use venv
* Don't ask, just install
2024-08-06 17:00:53 +02:00
Marco Castelluccio
cdacf65f9b
Update pre-commit dependencies
2024-08-06 15:32:11 +02:00
Marco Castelluccio
54a1487572
Use task-boot 0.4.3
2024-08-06 15:32:03 +02:00
John Vandenberg
9a234709c4
Add missing Debug traits ( #1088 )
2024-08-06 15:28:37 +02:00
Luni-4
7ced6d7fe5
misc: Add a guide to update grammars ( #1079 )
2024-08-06 15:27:32 +02:00
dependabot[bot]
f2643b521d
build(deps): update toml requirement from ^0.7 to ^0.8 ( #1068 )
...
Updates the requirements on [toml](https://github.com/toml-rs/toml ) to permit the latest version.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.0...toml-v0.8.0 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 14:40:44 +02:00
dependabot[bot]
e94a648f8b
build(deps): update num-derive requirement from ^0.3 to ^0.4 ( #1057 )
...
Updates the requirements on [num-derive](https://github.com/rust-num/num-derive ) to permit the latest version.
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.3.0...num-derive-0.4.0 )
---
updated-dependencies:
- dependency-name: num-derive
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 14:35:30 +02:00
Alex
ea3e026bb7
Update grammars ( #1086 )
...
* Bump tree-sitter to 0.22.6
* Bump tree-sitter-java to 0.21.0
* Bump tree-sitter-kotlin to 0.3.6
* Bump tree-sitter-typescript to 0.21.2
* Bump tree-sitter-javascript to 0.21.4
* Bump tree-sitter-python to 0.21.0
* Bump tree-sitter-rust to 0.21.2
* Bump tree-sitter-preproc to 0.20.2
* Bump tree-sitter-ccomment to 0.20.2
* Bump tree-sitter-mozcpp to 0.20.3
* Bump tree-sitter-mozjs to 0.20.2
2024-08-06 14:30:43 +02:00
Luni-4
d40b98399a
Remove dead code from `Java` getter ( #1085 )
2024-04-03 16:42:41 +02:00
Devon Burriss
f7a1295f86
Ops check for Halstead ( #849 )
2024-04-03 16:23:58 +02:00
Luni-4
0a841ae432
misc: Remove deprecated fxhash crate in favor of std collections ( #1080 )
2024-01-08 22:38:41 +01:00
Michael
64e146f6d3
Modify tests for more deterministic behavior ( #1081 )
...
* Modified tests to use insta's assert_yaml_snapshot
* Sort maps to have a deterministic behaviour
---------
Co-authored-by: Luni-4 <luni-4@hotmail.it>
2024-01-08 15:16:40 +01:00
Michael
56f182ac57
Added QualifiedIdentifier kinds( #1078 )
...
Fixes #1055
2024-01-07 15:49:30 +01:00
Marco Castelluccio
33f6f265c7
Update rca-output submodule to point to the new repository in the Mozilla org
2023-11-02 15:40:35 +01:00
Devon Burriss
88d957e667
Add Cognitive Complexity metric for Java ( #850 )
2023-06-28 08:30:54 +02:00
Luni-4
d558d773b7
Ignore Cargo.lock ( #1056 )
2023-06-09 14:15:49 +02:00
Luni-4
ec9bdd9d8a
Remove lazy_static
2023-06-05 17:37:38 +02:00
Luni-4
f56e3b271c
checker: Simplify aho_corasick check
2023-06-05 17:37:38 +02:00
Luni-4
ca29a9ac7c
tools: Replace lazy_static with OnceLock
2023-06-05 17:37:38 +02:00
Luni-4
59a0f3b417
checker: Replace lazy_static with OnceLock
2023-06-05 17:37:38 +02:00
Luni-4
729fda591a
Trait macros as any other import ( #1053 )
2023-05-26 18:46:48 +02:00
Luni-4
262672322f
Use a new structure for Tree ( #1052 )
...
* node: Add a new struct for AST Tree
* Use the new structure and its methods
2023-05-26 18:31:35 +02:00
Luni-4
2eba6d9174
tools: Remove uncontextualized comment
2023-05-26 17:04:25 +02:00
Luni-4
52a1ce9922
preproc: Uncomment a useful instruction
2023-05-26 17:04:25 +02:00
Luni-4
8776d5b2e2
preproc: Remove uncontextualized comments
2023-05-26 17:04:25 +02:00
Luni-4
4259ae5393
ast: Remove uncontextualized comment
2023-05-26 17:04:25 +02:00
Luni-4
c5843c6e29
parser: Remove uncontextualized comments
2023-05-26 17:04:25 +02:00
Marco Castelluccio
0f93821d94
Update workerType name from win2012r2 to win2022
...
Given https://github.com/mozilla/community-tc-config/pull/587 .
2023-05-25 00:14:05 +02:00
Luni-4
d98cc8ea57
Use a single macro to create the LANG enumerator ( #1049 )
2023-05-23 00:49:45 +02:00
Luni-4
d314d14749
Replace macro to verify if a node has specific ancestors with a function ( #1025 )
2023-05-23 00:14:38 +02:00
Luni-4
820dfbef11
Replace macro to count specific ancestors with a function ( #1024 )
2023-05-23 00:07:06 +02:00
Luni-4
cf53c6a7a8
Refactor command line format enumerator ( #1045 )
2023-05-23 00:05:13 +02:00
Luni-4
25212e8a59
Move 'get_parent' function in the node struct ( #1023 )
2023-05-22 22:07:03 +02:00
Luni-4
46273e1f0e
Hide tree-sitter language retrieval ( #1047 )
2023-05-22 18:18:43 +02:00
Luni-4
d29ce77c88
Document web module ( #1041 )
2023-05-22 18:03:56 +02:00
Marco Castelluccio
fbf98a15eb
Update pre-commit repositories
2023-05-22 10:58:05 +02:00
Luni-4
b7316b02fd
Abstract tree-sitter functions by extending the Node module and introducing a Cursor struct ( #1032 )
2023-05-22 10:50:16 +02:00
Luni-4
726de3dd9a
Make metric traits public ( #1046 )
...
* parser: Use metric traits instead of CodeMetricsT trait
This removes a superfluous trait aggregator
* parser: Remove a useless crate
* parser: Reorder crates imports
* Remove CodeMetricsT trait
* metrics: Visualize metric traits documentation
* macros: Add a macro to implement empty metric traits for each language
* metrics: Use new macro
2023-05-06 00:25:39 +02:00
Luni-4
92f00bc43b
Add underscore to private module
2023-04-28 12:59:55 +02:00
Luni-4
d1f30f8332
trait: Make TSLanguage trait private
2023-04-28 12:59:55 +02:00
Luni-4
bbbd95fef6
trait: Make CodeMetrics trait private
2023-04-28 12:59:55 +02:00
Luni-4
13453728cd
abc: Make an internal enumerator private ( #1044 )
2023-04-27 01:48:27 +02:00
Luni-4
990d027c6f
macros: Do not stringify twice ( #1043 )
2023-04-27 01:47:49 +02:00
Luni-4
9b7ead60ef
Update aho-corasick to 1.0 ( #1039 )
2023-04-21 12:45:07 +02:00
Luni-4
12fdb03aa2
Fix clippy warnings ( #1040 )
2023-04-21 12:08:16 +02:00
Luni-4
1ac0d0e5bd
enums: Make some c_macros functions private ( #1026 )
2023-04-14 15:37:49 +02:00
Luni-4
ca95d28f3e
langs: Make 'get_true' function private ( #1027 )
2023-04-14 15:36:46 +02:00
Luni-4
03159320fe
abc: Fix documentation warning ( #1035 )
2023-04-11 11:10:57 +02:00
Luni-4
d360076090
Show all tests errors in CI ( #1030 )
...
Fixes #977
2023-04-08 11:57:55 +02:00