Remove hcl2 python dependency (#3836)
* Migrate organization policy tests to standard tftest.yaml. Remove python-hcl2 dependency and the custom python test file. Consolidate the boolean, list, and custom constraint tests into a single `org_policies` test with a factory equivalent. Restructure factory files into a unified `factory/` directory. * Migrate project and folder org policy tests to standard tftest.yaml. Replicate the organization module changes for project and folder modules: - Remove python-hcl2 dependency usages and conftest.py. - Remove custom python test files for org policies. - Consolidate org policy tests into a single `org_policies` test with a factory equivalent. - Unify factory files into a `factory/` directory. - Remove redundant common.tfvars in folder module. * Add factory policies directory to duplicate-diff checks. Ensure the YAML factory files for org policies remain perfectly identical across the organization, folder, and project modules. * Remove unused deepdiff dependency from requirements and pre-commit config. * Add boilerplate * fix broken link
This commit is contained in:
@@ -31,7 +31,6 @@ repos:
|
||||
language: python
|
||||
additional_dependencies:
|
||||
- click
|
||||
- deepdiff
|
||||
- ghapi
|
||||
- iso8601
|
||||
- marko
|
||||
@@ -49,7 +48,6 @@ repos:
|
||||
entry: tools/check_boilerplate.py
|
||||
additional_dependencies:
|
||||
- click
|
||||
- deepdiff
|
||||
- ghapi
|
||||
- iso8601
|
||||
- marko
|
||||
@@ -66,7 +64,6 @@ repos:
|
||||
language: python
|
||||
additional_dependencies:
|
||||
- click
|
||||
- deepdiff
|
||||
- ghapi
|
||||
- iso8601
|
||||
- marko
|
||||
@@ -89,7 +86,6 @@ repos:
|
||||
language: python
|
||||
additional_dependencies:
|
||||
- click
|
||||
- deepdiff
|
||||
- ghapi
|
||||
- iso8601
|
||||
- marko
|
||||
@@ -105,7 +101,6 @@ repos:
|
||||
language: python
|
||||
additional_dependencies:
|
||||
- click
|
||||
- deepdiff
|
||||
- ghapi
|
||||
- iso8601
|
||||
- marko
|
||||
@@ -121,7 +116,6 @@ repos:
|
||||
language: python
|
||||
additional_dependencies:
|
||||
- click
|
||||
- deepdiff
|
||||
- ghapi
|
||||
- iso8601
|
||||
- marko
|
||||
|
||||
Reference in New Issue
Block a user