habit-hooks-java 1.3.0__tar.gz → 1.3.1__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.
- habit_hooks_java-1.3.1/PKG-INFO +50 -0
- habit_hooks_java-1.3.1/README.md +26 -0
- habit_hooks_java-1.3.1/pyproject.toml +51 -0
- habit_hooks_java-1.3.0/PKG-INFO +0 -5
- habit_hooks_java-1.3.0/pyproject.toml +0 -16
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/.gitignore +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/docs/java-plugin.spec.md +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/src/habit_hooks_java/__init__.py +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/src/habit_hooks_java/config.toml +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/src/habit_hooks_java/sensors/pmd-ruleset.xml +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/src/habit_hooks_java/sensors/pmd.toml +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/src/habit_hooks_java/sensors/pmd_sensor.py +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/tests/test_a_java_pmd_nobody_installed_is_named.py +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/tests/test_class_level_metric_violations_are_dropped.py +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/tests/test_every_ruleset_spelling_wins.py +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/tests/test_sensor_args_reach_pmd_not_the_file_list.py +0 -0
- {habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/tests/test_the_java_files_leave_build_output_alone.py +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: habit-hooks-java
|
|
3
|
+
Version: 1.3.1
|
|
4
|
+
Summary: The Java Habit Hooks plugin
|
|
5
|
+
Project-URL: Homepage, https://habit-hooks.com
|
|
6
|
+
Project-URL: Repository, https://github.com/habit-hooks/habit-hooks
|
|
7
|
+
Project-URL: Issues, https://github.com/habit-hooks/habit-hooks/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/habit-hooks/habit-hooks/blob/main/CHANGELOG.md
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
Keywords: ai-coding-agents,ci,code-quality,code-review,code-smells,coding-agents,developer-tools,java,linter,refactoring,static-analysis,technical-debt
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
20
|
+
Classifier: Topic :: Software Development :: Testing
|
|
21
|
+
Classifier: Topic :: Utilities
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# habit-hooks-java
|
|
26
|
+
|
|
27
|
+
The Java Habit Hooks plugin: wraps [`pmd`](https://pmd.github.io/) for
|
|
28
|
+
structural code-smell detection.
|
|
29
|
+
|
|
30
|
+
## Install
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
pip install "habit-hooks[java]"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Enable
|
|
37
|
+
|
|
38
|
+
```toml
|
|
39
|
+
# .habit-hooks/config.toml
|
|
40
|
+
plugins = ["java", "generic"]
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Installing a plugin does not switch it on — it has to be named in
|
|
44
|
+
`plugins` before habit-hooks runs it.
|
|
45
|
+
|
|
46
|
+
## Detectors
|
|
47
|
+
|
|
48
|
+
- [`pmd`](https://pmd.github.io/) — `brew install pmd` (it brings its own Java runtime)
|
|
49
|
+
|
|
50
|
+
Part of [habit-hooks](https://github.com/habit-hooks/habit-hooks).
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# habit-hooks-java
|
|
2
|
+
|
|
3
|
+
The Java Habit Hooks plugin: wraps [`pmd`](https://pmd.github.io/) for
|
|
4
|
+
structural code-smell detection.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
pip install "habit-hooks[java]"
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Enable
|
|
13
|
+
|
|
14
|
+
```toml
|
|
15
|
+
# .habit-hooks/config.toml
|
|
16
|
+
plugins = ["java", "generic"]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Installing a plugin does not switch it on — it has to be named in
|
|
20
|
+
`plugins` before habit-hooks runs it.
|
|
21
|
+
|
|
22
|
+
## Detectors
|
|
23
|
+
|
|
24
|
+
- [`pmd`](https://pmd.github.io/) — `brew install pmd` (it brings its own Java runtime)
|
|
25
|
+
|
|
26
|
+
Part of [habit-hooks](https://github.com/habit-hooks/habit-hooks).
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "habit-hooks-java"
|
|
3
|
+
version = "1.3.1"
|
|
4
|
+
description = "The Java Habit Hooks plugin"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
keywords = [
|
|
8
|
+
"code-quality",
|
|
9
|
+
"code-smells",
|
|
10
|
+
"static-analysis",
|
|
11
|
+
"linter",
|
|
12
|
+
"ci",
|
|
13
|
+
"code-review",
|
|
14
|
+
"technical-debt",
|
|
15
|
+
"refactoring",
|
|
16
|
+
"ai-coding-agents",
|
|
17
|
+
"coding-agents",
|
|
18
|
+
"developer-tools",
|
|
19
|
+
"java",
|
|
20
|
+
]
|
|
21
|
+
classifiers = [
|
|
22
|
+
"Development Status :: 4 - Beta",
|
|
23
|
+
"Environment :: Console",
|
|
24
|
+
"Intended Audience :: Developers",
|
|
25
|
+
"Operating System :: OS Independent",
|
|
26
|
+
"Programming Language :: Python :: 3",
|
|
27
|
+
"Programming Language :: Python :: 3.11",
|
|
28
|
+
"Programming Language :: Python :: 3.12",
|
|
29
|
+
"Programming Language :: Python :: 3.13",
|
|
30
|
+
"Topic :: Software Development :: Quality Assurance",
|
|
31
|
+
"Topic :: Software Development :: Testing",
|
|
32
|
+
"Topic :: Utilities",
|
|
33
|
+
]
|
|
34
|
+
requires-python = ">=3.11"
|
|
35
|
+
dependencies = []
|
|
36
|
+
|
|
37
|
+
[project.entry-points."habit_hooks.plugins"]
|
|
38
|
+
java = "habit_hooks_java"
|
|
39
|
+
|
|
40
|
+
[project.urls]
|
|
41
|
+
Homepage = "https://habit-hooks.com"
|
|
42
|
+
Repository = "https://github.com/habit-hooks/habit-hooks"
|
|
43
|
+
Issues = "https://github.com/habit-hooks/habit-hooks/issues"
|
|
44
|
+
Changelog = "https://github.com/habit-hooks/habit-hooks/blob/main/CHANGELOG.md"
|
|
45
|
+
|
|
46
|
+
[build-system]
|
|
47
|
+
requires = ["hatchling"]
|
|
48
|
+
build-backend = "hatchling.build"
|
|
49
|
+
|
|
50
|
+
[tool.hatch.build.targets.wheel]
|
|
51
|
+
packages = ["src/habit_hooks_java"]
|
habit_hooks_java-1.3.0/PKG-INFO
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "habit-hooks-java"
|
|
3
|
-
version = "1.3.0"
|
|
4
|
-
description = "The Java Habit Hooks plugin"
|
|
5
|
-
requires-python = ">=3.11"
|
|
6
|
-
dependencies = []
|
|
7
|
-
|
|
8
|
-
[project.entry-points."habit_hooks.plugins"]
|
|
9
|
-
java = "habit_hooks_java"
|
|
10
|
-
|
|
11
|
-
[build-system]
|
|
12
|
-
requires = ["hatchling"]
|
|
13
|
-
build-backend = "hatchling.build"
|
|
14
|
-
|
|
15
|
-
[tool.hatch.build.targets.wheel]
|
|
16
|
-
packages = ["src/habit_hooks_java"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/src/habit_hooks_java/sensors/pmd-ruleset.xml
RENAMED
|
File without changes
|
|
File without changes
|
{habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/src/habit_hooks_java/sensors/pmd_sensor.py
RENAMED
|
File without changes
|
{habit_hooks_java-1.3.0 → habit_hooks_java-1.3.1}/tests/test_a_java_pmd_nobody_installed_is_named.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|