2 requires = ["hatchling>=1.1.0"]
3 build-backend = "hatchling.build"
8 description = 'Hatch plugin for versioning with your preferred VCS'
10 license = { text = "MIT" }
11 requires-python = ">= 3.8"
22 { name = "Ofek Lev", email = "oss@ofek.dev" },
25 "Development Status :: 4 - Beta",
26 "Programming Language :: Python",
27 "Programming Language :: Python :: 3.8",
28 "Programming Language :: Python :: 3.9",
29 "Programming Language :: Python :: 3.10",
30 "Programming Language :: Python :: 3.11",
31 "Programming Language :: Python :: 3.12",
32 "Programming Language :: Python :: Implementation :: CPython",
33 "Programming Language :: Python :: Implementation :: PyPy",
37 "setuptools-scm>=6.4.0",
41 Funding = "https://github.com/sponsors/ofek"
42 History = "https://github.com/ofek/hatch-vcs/blob/master/HISTORY.md"
43 Issues = "https://github.com/ofek/hatch-vcs/issues"
44 Source = "https://github.com/ofek/hatch-vcs"
46 [project.entry-points.hatch]
47 vcs = "hatch_vcs.hooks"
50 path = "hatch_vcs/__about__.py"
53 target-version = ["py38"]
55 skip-string-normalization = true
58 target-version = "py38"
78 # Allow non-abstract empty methods in abstract base classes
80 # Ignore McCabe complexity
82 # Allow boolean positional values in function calls, like `dict.get(... True)`
84 # Ignore checks for possible passwords
85 "S105", "S106", "S107",
86 # Ignore noisy checks for insecure subprocess calls
88 # Boolean default values
93 known-first-party = ["hatch_vcs"]
95 [tool.ruff.flake8-quotes]
96 inline-quotes = "single"
98 [tool.ruff.flake8-tidy-imports]
99 ban-relative-imports = "all"
101 [tool.ruff.per-file-ignores]
102 # Tests can use relative imports and assertions
103 "tests/**/*" = ["TID252", "S101"]
106 disallow_untyped_defs = false
107 follow_imports = "normal"
108 ignore_missing_imports = true
110 show_column_numbers = true
111 show_error_codes = true
112 warn_no_return = false
113 warn_unused_ignores = true
116 source_pkgs = ["hatch_vcs", "tests"]
120 "hatch_vcs/__about__.py",
123 [tool.coverage.paths]
124 hatch_vcs = ["hatch_vcs", "*/hatch-vcs/hatch_vcs"]
125 tests = ["tests", "*/hatch-vcs/tests"]
127 [tool.coverage.report]
130 "if __name__ == .__main__.:",