simdel 0.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- simdel-0.0.0/PKG-INFO +7 -0
- simdel-0.0.0/pyproject.toml +134 -0
- simdel-0.0.0/setup.cfg +4 -0
- simdel-0.0.0/simdel/__init__.py +0 -0
- simdel-0.0.0/simdel.egg-info/PKG-INFO +7 -0
- simdel-0.0.0/simdel.egg-info/SOURCES.txt +6 -0
- simdel-0.0.0/simdel.egg-info/dependency_links.txt +1 -0
- simdel-0.0.0/simdel.egg-info/top_level.txt +1 -0
simdel-0.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "simdel"
|
|
3
|
+
version = "0.0.0"
|
|
4
|
+
description = "Coming soon. SImple Molecular Dynamics Expandable Library - easy to start MD library"
|
|
5
|
+
authors = [{ name = "Ilya Krainov" }, { name = "Danila Iakovlev" }]
|
|
6
|
+
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
requires-python = ">=3.10"
|
|
9
|
+
dependencies = []
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# LINT
|
|
13
|
+
[tool.ruff]
|
|
14
|
+
target-version = "py310"
|
|
15
|
+
line-length = 100
|
|
16
|
+
|
|
17
|
+
[tool.ruff.lint]
|
|
18
|
+
ignore = [
|
|
19
|
+
"EXE002", # shebang
|
|
20
|
+
"RUF104", # ruff: enable
|
|
21
|
+
"ERA001", # commentary, switch
|
|
22
|
+
"BLE001", # pure Exception
|
|
23
|
+
"TD002", # author name in TODO,
|
|
24
|
+
"TD003", # issue link
|
|
25
|
+
"FIX002", # todo
|
|
26
|
+
"D401", # imperative mood docstring
|
|
27
|
+
"E741", # l O I
|
|
28
|
+
"TC001", # import internal for annotations
|
|
29
|
+
"TC002", # import external for annotations
|
|
30
|
+
"TC003", # import class for annotations
|
|
31
|
+
"INP001", # __init__.py in all modules
|
|
32
|
+
"UP046", # only for py313 TypeVar->T
|
|
33
|
+
"COM812", # , in multiline: not recommended by ruff
|
|
34
|
+
"PGH003", # type: ignore for all
|
|
35
|
+
"D105", # obvious annotations for __magic__ methods
|
|
36
|
+
"N806", # up case variables
|
|
37
|
+
"ANN002", # args annotation
|
|
38
|
+
"TRY003", # long Exceptions
|
|
39
|
+
"D205", # Short and log description in docstring
|
|
40
|
+
"FBT001", # bool flags in functions
|
|
41
|
+
"FBT002", # default bool flags in functions
|
|
42
|
+
"D107", # docstring in __init__
|
|
43
|
+
"ANN003", # annotations for kwargs
|
|
44
|
+
"E713", # not a in b -> a not in b: naive parse code, unstable
|
|
45
|
+
"N805", # cls->self in methods: unstable
|
|
46
|
+
"N811", # import magic values: unstable (import .V as __version__)
|
|
47
|
+
"RUF022", # comments in __all__
|
|
48
|
+
"ANN401", # Any for __getitem__
|
|
49
|
+
"C408", # dict(a=1) better then {'a':1}
|
|
50
|
+
"N815", # camel-case vars (sometimes better then snake-case - parsing)
|
|
51
|
+
"N803", # temperature/time=T/t, force/function=F/f better to understand
|
|
52
|
+
"ANN202", # private type annotation
|
|
53
|
+
"ARG001", # unused args: not works with wrappers
|
|
54
|
+
"S301", # unsafe pickle
|
|
55
|
+
"S311", # crypto random instead random
|
|
56
|
+
"S506", # serialize/deserialize safe objects is not always needed
|
|
57
|
+
"PLC0105", # covariant TypeVar named T_co
|
|
58
|
+
"A002", # shadowing
|
|
59
|
+
"N802", # lowercase functions
|
|
60
|
+
"N801", # UpCase classes
|
|
61
|
+
"SIM108", # inline if statements
|
|
62
|
+
"S602", # subprocess without shell=True
|
|
63
|
+
"S607", # subprocess only with absolute paths
|
|
64
|
+
"G004", # f strings in logs
|
|
65
|
+
"PLW0603", # global statements
|
|
66
|
+
"PIE790", # unnecessary pass/...
|
|
67
|
+
"FURB187", # [::-1] -> reverse
|
|
68
|
+
"RUF012", # mutable values in classes
|
|
69
|
+
"C901", # hard functions
|
|
70
|
+
"PLR0912", # too many branches in if
|
|
71
|
+
"RET506", # superfluous else after if: unstable
|
|
72
|
+
"SIM300", # 0<a -> a>0
|
|
73
|
+
"RET503", # explicit return
|
|
74
|
+
"C416", # {:} -> dict
|
|
75
|
+
"S307", # use eval
|
|
76
|
+
"UP040", # type a = ... for p>=312
|
|
77
|
+
"RUF005", # [] + [] -> [*[], *[]]
|
|
78
|
+
"TRY301", # raise if
|
|
79
|
+
"N816", # no mixed_Case
|
|
80
|
+
"PYI019", # typevar -> Self
|
|
81
|
+
|
|
82
|
+
]
|
|
83
|
+
select = ["ALL"]
|
|
84
|
+
fixable = [
|
|
85
|
+
"I", # import sort
|
|
86
|
+
]
|
|
87
|
+
exclude = ["pmx/**", "**.ipynb", "tests_md/**"]
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
[tool.ruff.lint.pydocstyle]
|
|
91
|
+
convention = "google"
|
|
92
|
+
|
|
93
|
+
[tool.ruff.lint.per-file-ignores]
|
|
94
|
+
"**/__init__.py" = [
|
|
95
|
+
"F401", # unused imports
|
|
96
|
+
]
|
|
97
|
+
"tests_md/**" = [
|
|
98
|
+
'N805', # method name starts with UP case letter
|
|
99
|
+
'N802', # function name starts with UP case letter
|
|
100
|
+
"F403", # import *
|
|
101
|
+
"D103", # docsting in tests
|
|
102
|
+
"ANN001", # mixture annotations
|
|
103
|
+
"F401", # unused imports
|
|
104
|
+
]
|
|
105
|
+
|
|
106
|
+
[tool.ruff.lint.flake8-type-checking]
|
|
107
|
+
strict = true
|
|
108
|
+
|
|
109
|
+
[tool.ruff.lint.flake8-quotes]
|
|
110
|
+
avoid-escape = false
|
|
111
|
+
|
|
112
|
+
[tool.ruff.flake8-annotations]
|
|
113
|
+
suppress-none-returning = true
|
|
114
|
+
mypy-init-return = true
|
|
115
|
+
allow-star-arg-any = true
|
|
116
|
+
ignore-fully-untyped = true
|
|
117
|
+
|
|
118
|
+
[tool.pyright]
|
|
119
|
+
include = ["md"]
|
|
120
|
+
exclude = ["*/__init__.py"]
|
|
121
|
+
typeCheckingMode = "standard"
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
# FORMAT
|
|
125
|
+
[tool.ruff.format]
|
|
126
|
+
quote-style = "double"
|
|
127
|
+
indent-style = "space"
|
|
128
|
+
docstring-code-format = true
|
|
129
|
+
skip-magic-trailing-comma = false
|
|
130
|
+
|
|
131
|
+
[tool.ruff.lint.isort]
|
|
132
|
+
known-first-party = ["md"]
|
|
133
|
+
combine-as-imports = true
|
|
134
|
+
force-sort-within-sections = true
|
simdel-0.0.0/setup.cfg
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
simdel
|