-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (111 loc) · 2.89 KB
/
pyproject.toml
File metadata and controls
123 lines (111 loc) · 2.89 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "cursory"
version = "1.1.0"
description = "Generate 100% human-realistic Mouse Trajectories with Timings. "
readme = "README.md"
requires-python = ">=3.10"
license = "GPL-3.0-or-later"
authors = [{ name = "Vinyzu" }]
classifiers = [
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP :: Browsers",
]
dynamic = ["dependencies"]
[project.optional-dependencies]
dev = ["pytest~=8.3"]
[tool.setuptools.dynamic]
dependencies = { file = "requirements.txt" }
[tool.setuptools.package-data]
cursory = ["py.typed", "trajectories.json.gz"]
[project.urls]
Homepage = "https://github.com/Vinyzu/cursory"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
# Increase the line length. This breaks PEP8 but it is way easier to work with.
# The original reason for this limit was a standard vim terminal is only 79 characters,
# but this doesn't really apply anymore.
line-length = 119
# Target Python 3.12.
target-version = "py312"
# Automatically fix auto-fixable issues.
fix = true
# The directory containing the source code.
src = ["src"]
exclude = [
# Want to keep Formatting in the requirements file.
"requirements.txt",
]
[tool.ruff.lint]
# Enable all linting rules.
select = ["ALL"]
# Ignore some of the most obnoxious linting errors.
ignore = [
# Missing docstrings.
"D100",
"D104",
"D105",
"D106",
"D107",
# Docstring whitespace.
"D203",
"D205",
"D212",
# Docstring punctuation.
"D415",
# Docstring quotes.
"D301",
# Print statements.
"T20",
# TODOs.
"TD002",
"TD003",
"FIX",
# Future annotations.
"FA",
# Error messages.
"EM",
"TRY003",
# Path/Opens
"PTH123",
# Trailing commas
"COM812",
# Magic Values
"PLR2004",
# Pseudo-random numbers
"S311",
# Hardcoded Password
"S105",
# Commented-out code
"ERA001",
# Boolean Type Arguments
"FBT001",
"FBT002",
# Implicit Namespaces, conflicts with Reflex
"INP001",
# Functions with too many arguments
"PLR0913",
]
[tool.ruff.lint.pydocstyle]
# Use Google-style docstrings.
convention = "google"
ignore-decorators = ["typing.overload"]
[tool.mypy]
strict = true
disallow_untyped_decorators = false
disallow_subclassing_any = false