e8b3ecf264495b6e5cf9b5f07889545ed242b64b
Marco Ricci Import initial project files

Marco Ricci authored 4 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"
Marco Ricci Support Python 3.10 and PyP...

Marco Ricci authored 2 months ago

10) requires-python = ">=3.10"
Marco Ricci Import initial project files

Marco Ricci authored 4 months ago

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 Fix misspelt project settings

Marco Ricci authored 2 months ago

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

Marco Ricci authored 4 months ago

20)   "Programming Language :: Python :: 3",
Marco Ricci Support Python 3.10 and PyP...

Marco Ricci authored 2 months ago

21)   "Programming Language :: Python :: 3.10",
Marco Ricci Import initial project files

Marco Ricci authored 4 months ago

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

Marco Ricci authored 3 months ago

28)   "click>=8.1",
Marco Ricci Support Python 3.10 and PyP...

Marco Ricci authored 2 months ago

29)   "typing_extensions",
Marco Ricci Overhaul dependency and env...

Marco Ricci authored 3 months ago

30) ]
31) 
32) [project.optional-dependencies]
Marco Ricci Support Python 3.10 and PyP...

Marco Ricci authored 2 months ago

33) dev = ["black", "coverage", "hatch>=1.10", "mkdocs", "mkdocs-material",
34)        "mkdocstrings[python]", "pytest>=8.1"]
Marco Ricci Import initial project files

Marco Ricci authored 4 months ago

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

Marco Ricci authored 2 months ago

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

Marco Ricci authored 4 months ago

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

Marco Ricci authored 3 months ago

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

Marco Ricci authored 4 months ago

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

Marco Ricci authored 3 months ago

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

Marco Ricci authored 4 months ago

59) 
Marco Ricci Add coverage testing

Marco Ricci authored 3 months ago

60) [tool.hatch.envs.hatch-test]
61) default-args = ['src', 'tests']
62) 
63) [[tool.hatch.envs.hatch-test.matrix]]
Marco Ricci Support Python 3.10 and PyP...

Marco Ricci authored 2 months ago

64) python = ["3.10", "3.11", "3.12", "pypy3.10"]
Marco Ricci Add coverage testing

Marco Ricci authored 3 months ago

65) 
66) [tool.hatch.envs.hatch-test.scripts]
67) run = "pytest{env:HATCH_TEST_ARGS:} {args}"
68) run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
69) cov-combine = "coverage combine"
Marco Ricci Fix misspelt project settings

Marco Ricci authored 2 months ago

70) cov-report = ["coverage report", "coverage html"]
Marco Ricci Add coverage testing

Marco Ricci authored 3 months ago

71) 
Marco Ricci Overhaul dependency and env...

Marco Ricci authored 3 months ago

72) [tool.hatch.env]
73) requires = [
74)   "hatch-mkdocs",
75) ]
76) 
77) [tool.hatch.env.collectors.mkdocs.docs]
78) path = "mkdocs.yml"
79) 
Marco Ricci Fill out README and documen...

Marco Ricci authored 2 months ago

80) [tool.hatch.envs.docs]
81) extra-dependencies = [
82)   "black",
83)   "mkdocs-material",
84) ]
85) detached = false
86) 
Marco Ricci Import initial project files

Marco Ricci authored 4 months ago

87) [tool.hatch.envs.types]
88) extra-dependencies = [
89)   "mypy>=1.0.0",
Marco Ricci Fill out README and documen...

Marco Ricci authored 2 months ago

90)   "pytest",
Marco Ricci Import initial project files

Marco Ricci authored 4 months ago

91) ]
92) [tool.hatch.envs.types.scripts]
93) check = "mypy --install-types --non-interactive {args:src/derivepassphrase tests}"
94) 
Marco Ricci Add finished command-line i...

Marco Ricci authored 2 months ago

95) [tool.coverage.html]
96) directory = "docs/reference/coverage"
97) 
Marco Ricci Import initial project files

Marco Ricci authored 4 months ago

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

Marco Ricci authored 2 months ago

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

Marco Ricci authored 4 months ago

100) branch = true
101) parallel = true
102) omit = [
Marco Ricci Add finished command-line i...

Marco Ricci authored 2 months ago

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

Marco Ricci authored 4 months ago

104) ]
105) 
106) [tool.coverage.paths]
Marco Ricci Add finished command-line i...

Marco Ricci authored 2 months ago

107) src = ["src"]
108) tests = ["tests"]
Marco Ricci Import initial project files

Marco Ricci authored 4 months ago

109) 
110) [tool.coverage.report]
Marco Ricci Add finished command-line i...

Marco Ricci authored 2 months ago

111) skip_covered = false
112) skip_empty = true
113) precision = 3
114) partial_branches = [
115)     'pragma: no branch',
116) ]
117) exclude_also = [
Marco Ricci Import initial project files

Marco Ricci authored 4 months ago

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

Marco Ricci authored 2 months ago

119)   'if (?:typing\.)?TYPE_CHECKING:',
120)   "raise AssertionError",
121)   "raise NotImplementedError",
122)   'assert False',