6e05ad2a2a6d8de341a84dc8257911e21538c64e
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

1) [build-system]
2) requires = ["hatchling"]
3) build-backend = "hatchling.build"
4) 
5) [project]
6) name = "derivepassphrase"
7) dynamic = ["version"]
8) description = "An almost faithful Python reimplementation of James Coglan's vault."
9) readme = "README.md"
10) requires-python = ">=3.11"
11) license = "MIT"
12) keywords = []
13) authors = [
14)   { name = "Marco Ricci", email = "m@the13thletter.info" },
15) ]
16) classifiers = [
17)   "Development Status :: 4 - Beta",
18)   "Environment :: Console",
Marco Ricci Overhaul dependency and env...

Marco Ricci authored 5 months ago

19)   "License :: OSI-Approved :: MIT License",
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

20)   "Programming Language :: Python :: 3",
21)   "Programming Language :: Python :: 3.11",
22)   "Programming Language :: Python :: 3.12",
23)   "Programming Language :: Python :: Implementation :: CPython",
24)   "Programming Language :: Python :: Implementation :: PyPy",
25) ]
26) dependencies = [
Marco Ricci Overhaul dependency and env...

Marco Ricci authored 5 months ago

27)   "click>=8.1",
28) ]
29) 
30) [project.optional-dependencies]
31) dev = [
32)   "mkdocs",
33)   "mkdocstrings[python]",
34)   "pytest",
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

35) ]
36) 
37) [project.urls]
38) Documentation = "https://github.com/the-13th-letter/derivepassphrase#readme"
39) Issues = "https://github.com/the-13th-letter/derivepassphrase/issues"
40) Source = "https://github.com/the-13th-letter/derivepassphrase"
41) 
42) [project.scripts]
43) derivepassphrase = "derivepassphrase.cli:derivepassphrase"
44) 
45) [tool.mypy]
Marco Ricci Add finished command-line i...

Marco Ricci authored 4 months ago

46) files = ['src/**/*.py']
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

47) mypy_path = '$MYPY_CONFIG_FILE_DIR/src'
48) explicit_package_bases = true
49) implicit_reexport = false
50) sqlite_cache = true
51) 
52) [tool.pytest.ini_options]
53) addopts = '--doctest-modules'
54) pythonpath = ['src']
Marco Ricci Add unit tests, both new an...

Marco Ricci authored 5 months ago

55) testpaths = ['src', 'tests']
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

56) xfail_strict = true
57) 
58) [tool.hatch.version]
Marco Ricci Remove __about__.py files,...

Marco Ricci authored 5 months ago

59) path = "src/derivepassphrase/__init__.py"
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

60) 
Marco Ricci Add coverage testing

Marco Ricci authored 5 months ago

61) [tool.hatch.envs.hatch-test]
62) default-args = ['src', 'tests']
63) 
64) [[tool.hatch.envs.hatch-test.matrix]]
65) python = ["3.11", "3.12"]
66) 
67) [tool.hatch.envs.hatch-test.scripts]
68) run = "pytest{env:HATCH_TEST_ARGS:} {args}"
69) run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
70) cov-combine = "coverage combine"
71) cov-report = "coverage report && coverage html"
72) 
Marco Ricci Overhaul dependency and env...

Marco Ricci authored 5 months ago

73) [tool.hatch.env]
74) requires = [
75)   "hatch-mkdocs",
76) ]
77) 
78) [tool.hatch.env.collectors.mkdocs.docs]
79) path = "mkdocs.yml"
80) 
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

81) [tool.hatch.envs.types]
82) extra-dependencies = [
83)   "mypy>=1.0.0",
84) ]
85) [tool.hatch.envs.types.scripts]
86) check = "mypy --install-types --non-interactive {args:src/derivepassphrase tests}"
87) 
Marco Ricci Add finished command-line i...

Marco Ricci authored 4 months ago

88) [tool.coverage.html]
89) directory = "docs/reference/coverage"
90) 
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

91) [tool.coverage.run]
Marco Ricci Add finished command-line i...

Marco Ricci authored 4 months ago

92) source_pkgs = ["derivepassphrase", "sequin", "ssh_agent_client", "tests"]
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

93) branch = true
94) parallel = true
95) omit = [
Marco Ricci Add finished command-line i...

Marco Ricci authored 4 months ago

96)   "__main__.py",
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

97) ]
98) 
99) [tool.coverage.paths]
Marco Ricci Add finished command-line i...

Marco Ricci authored 4 months ago

100) src = ["src"]
101) tests = ["tests"]
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

102) 
103) [tool.coverage.report]
Marco Ricci Add finished command-line i...

Marco Ricci authored 4 months ago

104) skip_covered = false
105) skip_empty = true
106) precision = 3
107) partial_branches = [
108)     'pragma: no branch',
109) ]
110) exclude_also = [
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

111)   "if __name__ == .__main__.:",
Marco Ricci Add finished command-line i...

Marco Ricci authored 4 months ago

112)   'if (?:typing\.)?TYPE_CHECKING:',
113)   "raise AssertionError",
114)   "raise NotImplementedError",
115)   'assert False',