-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (55 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
59 lines (55 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[project]
name = "ams-bootcamp-2025"
version = "0.1.0"
description = "introduction to bash, git, and python"
authors = [
{ name = "Brandon Knutson", email = "bknutson@mines.edu" },
{ name = "Hafiz Issah", email = "aissah@mines.edu"}
]
readme = "README.md"
requires-python = ">=3.13"
# Main dependencies
dependencies = [
"numpy",
"requests==2.29.0",
#"urllib3==2.0.0" # causes dependency conflict
]
# Development dependencies
[dependency-groups]
dev = [
"ruff", # lint & format
"ty", # type check
"pytest" # test
]
# Format settings
[tool.ruff]
line-length = 120 # Set max line length for all tools
[tool.ruff.lint.pydocstyle]
convention = "google" # Format docstrings
[tool.ruff.format]
quote-style = "single" # Use single quotes for consistency
indent-style = "space" # Use spaces for indentation
# Lint settings
[tool.ruff.lint]
select = [
"D", # pydocstyle: enforce docstring conventions
"E", # pycodestyle: enforce style rules
"F", # Pyflakes: detect coding errors
"W", # pycodestyle warnings
"I", # isort: sort imports, remove unused imports
"N", # pep8-naming: enforce naming conventions
"UP", # pyupgrade: modernize syntax for newer Python versions
"B", # flake8-bugbear: detect common security and performance issues
"C4", # flake8-comprehensions: simplify comprehensions
#"SIM", # flake8-simplify: detect redundant expressions
#"ANN", # flake8-annotations: check for type hints
#"S", # flake8-bandit: test for security
#"FIX002", # flake8-fixme: check for TODO
"PGH003", # pygrep-hooks: check for 'type: ignore' comments
"PGH004" # pygrep-hooks: check for 'noqa' comments
]
ignore = [
"D100", # pydocstyle: ignore missing public module docstring
#"ANN002", # flake8-annotations: ignore missing type hints for *args
#"ANN003", # flake8-annotations: ignore missing type hints for **kwargs
]