@@ -28,7 +28,7 @@ dependencies = [
2828 " click>=8.1.0,<9.0.0" ,
2929 " click_option_group>=0.5.9,<0.6.0" ,
3030 " jinja2>=3.1.0,<4.0.0" ,
31- " policy_sentry>=0.14 .0,<0.15 " ,
31+ " policy_sentry>=0.15 .0,<0.16.0 " ,
3232 " pyyaml>=6.0.0,<7.0.0" ,
3333 " schema>=0.7.0,<0.8.0" ,
3434]
@@ -48,12 +48,12 @@ Twitter = "https://twitter.com/kmcquade3"
4848[dependency-groups ]
4949dev = [
5050 " boto3-stubs-lite[iam,s3,sts]>=1.40.0,<2.0.0" ,
51- " coverage>=7.11 .0,<8.0.0" ,
51+ " coverage>=7.13 .0,<8.0.0" ,
5252 " moto[sts]>=5.1.0,<6.0.0" ,
53- " mypy>=1.18.0,<2.0 .0" ,
54- " prek>=0.2.13,<0.3 .0" ,
55- " pytest>=8.4 .0,<9 .0.0" ,
56- " rust-just>=1.43.0,<2.0 .0" ,
53+ " prek>=0.2.22,<0.3 .0" ,
54+ " pytest>=9.0.0,<10.0 .0" ,
55+ " rust-just>=1.45 .0,<2 .0.0" ,
56+ " ty>=0.0.4,<0.1 .0" ,
5757 " types-pyyaml>=6.0.12,<7.0.0" ,
5858]
5959
@@ -85,23 +85,6 @@ module-name = "cloudsplaining"
8585module-root = " "
8686source-include = [" test/**" ]
8787
88- [tool .mypy ]
89- files = " cloudsplaining"
90-
91- python_version = " 3.10" # should be identical to the minimum supported version
92- local_partial_types = true # will become the new default from version 2
93- allow_redefinition_new = true # will become the new default from version 2
94- fixed_format_cache = true # new caching mechanism
95- strict = true
96- pretty = true
97- disallow_untyped_decorators = false
98-
99- [[tool .mypy .overrides ]]
100- module = [
101- " schema" ,
102- ]
103- ignore_missing_imports = true
104-
10588[tool .ruff ]
10689line-length = 120
10790target-version = " py310"
@@ -175,3 +158,12 @@ omit = [
175158 " cloudsplaining/output/html_report.py" ,
176159 " cloudsplaining/output/triage_worksheet.py" ,
177160]
161+
162+ [tool .ty .environment ]
163+ python-version = " 3.10"
164+
165+ [tool .ty .src ]
166+ include = [" examples" , " cloudsplaining" , " utils" ]
167+
168+ [tool .ty .rules ]
169+ unused-ignore-comment = " error"
0 commit comments