6eab62ca9f46c2caf2172c6558e26f7cef8f02d5
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]
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 5 months ago

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

Marco Ricci authored 6 months ago

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

Marco Ricci authored 5 months ago

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

Marco Ricci authored 6 months ago

59) 
Marco Ricci Add coverage testing

Marco Ricci authored 5 months ago

60) [tool.hatch.envs.hatch-test]
61) default-args = ['src', 'tests']
62) 
63) [[tool.hatch.envs.hatch-test.matrix]]
64) python = ["3.11", "3.12"]
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"
70) cov-report = "coverage report && coverage html"
71) 
Marco Ricci Overhaul dependency and env...

Marco Ricci authored 5 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 Import initial project files

Marco Ricci authored 6 months ago

80) [tool.hatch.envs.types]
81) extra-dependencies = [
82)   "mypy>=1.0.0",
83) ]
84) [tool.hatch.envs.types.scripts]
85) check = "mypy --install-types --non-interactive {args:src/derivepassphrase tests}"
86) 
87) [tool.coverage.run]
88) source_pkgs = ["derivepassphrase", "tests"]
89) branch = true
90) parallel = true
91) omit = [
Marco Ricci Exclude known "emergency ex...

Marco Ricci authored 5 months ago

92)   "src/derivepassphrase/__main__.py",