-
Notifications
You must be signed in to change notification settings - Fork 49
/
pyproject.toml
99 lines (87 loc) · 2.33 KB
/
pyproject.toml
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
[project]
name = "quick_map_services"
version = "0.19.36"
readme = "README.md"
license = { file = "LICENSE" }
[tool.qgspb.package-data]
"quick_map_services.data_sources" = [
"osm_mapnik/*",
"nasa_sedac_eq_frequency/*",
"nasa_sedac_eq_peak_ground_accel/*",
]
"quick_map_services.groups" = ["nasa/*", "osm/*"]
"quick_map_services.icons" = ["*.svg", "*.png"]
[tool.qgspb.forms]
ui-files = [
"src/quick_map_services/gui/*.ui",
"src/quick_map_services/scales.xml",
"src/quick_map_services/*.ui",
"src/quick_map_services/py_tiled_layer/*.ui",
]
compile = false
[tool.qgspb.translations]
ts-files = ["src/quick_map_services/i18n/*.ts"]
exclude-files = ["src/quick_map_services/qms_external_api_python/*"]
no-obsolete = true
[project.optional-dependencies]
dev = ["ruff", "pre-commit"]
[tool.pyright]
include = ["src"]
pythonVersion = "3.7"
reportOptionalCall = false
reportOptionalMemberAccess = false
[tool.ruff]
line-length = 79
target-version = "py37"
[tool.ruff.lint]
select = [
# "A", # flake8-builtins
# "ARG", # flake8-unused-arguments
# "B", # flake8-bugbear
# "C90", # mccabe complexity
# "COM", # flake8-commas
# "E", # pycodestyle errors
# "F", # pyflakes
# "FBT", # flake8-boolean-trap
# "FLY", # flynt
"I", # isort
# "ISC", # flake8-implicit-str-concat
# "LOG", # flake8-logging
# "N", # pep8-naming
# "PERF", # Perflint
# "PGH", # pygrep-hooks
# "PIE", # flake8-pie
# "PL", # pylint
# "PTH", # flake8-use-pathlib
# "PYI", # flake8-pyi
# "Q", # flake8-quotes
# "RET", # flake8-return
# "RSE", # flake8-raise
# "RUF",
# "SIM", # flake8-simplify
# "SLF", # flake8-self
# "T10", # flake8-debugger
# "T20", # flake8-print
# "TCH", # flake8-type-checking
# "TD", # flake8-todos
# "TID", # flake8-tidy-imports
# "TRY", # tryceratops
# "UP", # pyupgrade
# "W", # pycodesytle warnings
# "ANN", # flake8-annotations
# "CPY", # flake8-copyright
# "D", # pydocstyle
# "FIX", # flake8-fixme
]
ignore = ["ANN101", "ANN102", "TD003", "FBT003", "ISC001", "COM812", "E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.pep8-naming]
extend-ignore-names = [
"setLevel",
"classFactory",
"initGui",
"sizeHint",
"createWidget",
"*Event",
]