fc9f4cb5dff7f29b52006e4a3e0c867825decea7
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) description = "An almost faithful Python reimplementation of James Coglan's vault."
8) readme = "README.md"
Marco Ricci Support Python 3.10 and PyP...

Marco Ricci authored 3 months ago

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

Marco Ricci authored 6 months ago

10) license = "MIT"
11) keywords = []
12) authors = [
13)   { name = "Marco Ricci", email = "m@the13thletter.info" },
14) ]
15) classifiers = [
16)   "Development Status :: 4 - Beta",
17)   "Environment :: Console",
Marco Ricci Fix misspelt project settings

Marco Ricci authored 4 months ago

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

Marco Ricci authored 6 months ago

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

Marco Ricci authored 3 months ago

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

Marco Ricci authored 6 months ago

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

Marco Ricci authored 3 months ago

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

Marco Ricci authored 5 months ago

29) ]
Marco Ricci Release 0.1.1

Marco Ricci authored 3 months ago

30) version = "0.1.1"
Marco Ricci Overhaul dependency and env...

Marco Ricci authored 5 months ago

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

Marco Ricci authored 3 months ago

33) dev = ["black", "coverage", "hatch>=1.10", "mkdocs", "mkdocs-material",
Marco Ricci Add a changelog and support...

Marco Ricci authored 3 months ago

34)        "mkdocstrings[python]", "pytest>=8.1", "towncrier>=23.11"]
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

35) 
36) [project.urls]
Marco Ricci Set up a web host for the d...

Marco Ricci authored 3 months ago

37) Documentation = "https://the13thletter.info/derivepassphrase/"
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

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 4 months ago

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

Marco Ricci authored 6 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 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 Fix Python package build co...

Marco Ricci authored 3 months ago

60) [tool.hatch.build.targets.sdist]
61) exclude = [
62)     'towncrier.d/[0123456789+]*.md',
63) ]
64) 
65) [tool.hatch.build.targets.wheel]
66) packages = ['src/derivepassphrase', 'src/sequin', 'src/ssh_agent_client']
67) 
Marco Ricci Add coverage testing

Marco Ricci authored 5 months ago

68) [tool.hatch.envs.hatch-test]
69) default-args = ['src', 'tests']
70) 
71) [[tool.hatch.envs.hatch-test.matrix]]
Marco Ricci Support Python 3.10 and PyP...

Marco Ricci authored 3 months ago

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

Marco Ricci authored 5 months ago

73) 
Marco Ricci Overhaul dependency and env...

Marco Ricci authored 5 months ago

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

Marco Ricci authored 4 months ago

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

Marco Ricci authored 6 months ago

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

Marco Ricci authored 4 months ago

96) [tool.coverage.html]
Marco Ricci Remove coverage from docume...

Marco Ricci authored 3 months ago

97) directory = "html/coverage"
Marco Ricci Add finished command-line i...

Marco Ricci authored 4 months ago

98) 
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

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

Marco Ricci authored 4 months ago

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

Marco Ricci authored 6 months ago

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

Marco Ricci authored 4 months ago

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

Marco Ricci authored 6 months ago

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

Marco Ricci authored 4 months ago

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

Marco Ricci authored 6 months ago

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

Marco Ricci authored 4 months ago

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

Marco Ricci authored 6 months ago

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

Marco Ricci authored 4 months ago

120)   'if (?:typing\.)?TYPE_CHECKING:',
121)   "raise AssertionError",
122)   "raise NotImplementedError",
123)   'assert False',
Marco Ricci Import initial project files

Marco Ricci authored 6 months ago

124) ]
Marco Ricci Fix style issues with ruff...

Marco Ricci authored 3 months ago

125) 
126) [tool.ruff]
127) line-length = 79
128) src = ["src"]
Marco Ricci Fix style issues with ruff...

Marco Ricci authored 3 months ago

129) extend = "ruff_defaults_v0.5.0.toml"
Marco Ricci Fix style issues with ruff...

Marco Ricci authored 3 months ago

130) 
131) [tool.ruff.format]
132) quote-style = 'single'
Marco Ricci Reformat everything with ruff

Marco Ricci authored 3 months ago

133) docstring-code-line-length = "dynamic"
Marco Ricci Fix style issues with ruff...

Marco Ricci authored 3 months ago

134) preview = true
135) 
136) [tool.ruff.lint]
137) preview = true
138) extend-ignore = [
139)     'S101',
140) ]
141) extend-select = [
142)     'E501',
143) ]
Marco Ricci Fix style issues with ruff...

Marco Ricci authored 3 months ago

144) 
145) [tool.ruff.lint.pydocstyle]
146) convention = 'google'
Marco Ricci Fix style issues with ruff...

Marco Ricci authored 3 months ago

147) 
148) [tool.ruff.lint.flake8-pytest-style]
149) parametrize-names-type = 'list'
150) 
151) [tool.ruff.lint.extend-per-file-ignores]
152) "**/tests/**/*" = [
153)   'SLF001',
154)   'A002',
155)   'FBT001',
156) ]
157) 
158) [tool.hatch.envs.hatch-static-analysis]
159) config-path = "ruff_defaults_v0.5.0.toml"
160) dependencies = ["ruff==0.5.0"]