diracx 0.0.1a12__tar.gz → 0.0.1a14__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: diracx
3
- Version: 0.0.1a12
3
+ Version: 0.0.1a14
4
4
  Summary: Client installation for users of DiracX installations
5
5
  License: GPL-3.0-only
6
6
  Classifier: Intended Audience :: Science/Research
@@ -20,6 +20,7 @@ Requires-Dist: diracx-testing; extra == "testing"
20
20
 
21
21
  ![DiracX tests](https://github.com/DIRACGrid/diracx/actions/workflows/main.yml/badge.svg?branch=main)
22
22
  ![Legacy tests](https://github.com/DIRACGrid/diracx/actions/workflows/integration.yml/badge.svg?branch=main)
23
+ ![security: bandit](https://github.com/DIRACGrid/diracx/actions/workflows/main.yml/badge.svg?branch=main)
23
24
 
24
25
  # DiracX Prototype
25
26
 
@@ -1,5 +1,6 @@
1
1
  ![DiracX tests](https://github.com/DIRACGrid/diracx/actions/workflows/main.yml/badge.svg?branch=main)
2
2
  ![Legacy tests](https://github.com/DIRACGrid/diracx/actions/workflows/integration.yml/badge.svg?branch=main)
3
+ ![security: bandit](https://github.com/DIRACGrid/diracx/actions/workflows/main.yml/badge.svg?branch=main)
3
4
 
4
5
  # DiracX Prototype
5
6
 
@@ -4,7 +4,7 @@ description = "Client installation for users of DiracX installations"
4
4
  readme = "README.md"
5
5
  requires-python = ">=3.10"
6
6
  keywords = []
7
- license = {text = "GPL-3.0-only"}
7
+ license = { text = "GPL-3.0-only" }
8
8
  classifiers = [
9
9
  "Intended Audience :: Science/Research",
10
10
  "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
@@ -12,18 +12,11 @@ classifiers = [
12
12
  "Topic :: Scientific/Engineering",
13
13
  "Topic :: System :: Distributed Computing",
14
14
  ]
15
- dependencies = [
16
- "diracx-api",
17
- "diracx-cli",
18
- "diracx-client",
19
- "diracx-core",
20
- ]
15
+ dependencies = ["diracx-api", "diracx-cli", "diracx-client", "diracx-core"]
21
16
  dynamic = ["version"]
22
17
 
23
18
  [project.optional-dependencies]
24
- testing = [
25
- "diracx-testing",
26
- ]
19
+ testing = ["diracx-testing"]
27
20
 
28
21
  [tool.setuptools]
29
22
  packages = []
@@ -35,27 +28,51 @@ build-backend = "setuptools.build_meta"
35
28
  [tool.setuptools_scm]
36
29
 
37
30
  [tool.ruff]
38
- select = [
39
- "E", # pycodestyle errrors
40
- "F", # pyflakes
41
- "B", # flake8-bugbear
42
- "I", # isort
43
- "PLE", # pylint errors
44
- # "UP", # pyUpgrade
45
- "FLY", # flynt
46
- "DTZ", # flake8-datetimez
47
- ]
48
- ignore = ["B905", "B008", "B006"]
49
31
  line-length = 120
50
32
  src = ["diracx-*/src", "diracx-*/tests"]
51
33
  exclude = ["diracx-client/src/diracx/client/"]
52
34
 
35
+
36
+ [tool.ruff.lint]
37
+ select = [
38
+ "E", # pycodestyle errrors
39
+ "F", # pyflakes
40
+ "B", # flake8-bugbear
41
+ "I", # isort
42
+ "PLE", # pylint errors
43
+ # "UP", # pyUpgrade
44
+ "FLY", # flynt
45
+ "DTZ", # flake8-datetimez
46
+ "S", # flake8-bandit
47
+ ]
48
+
49
+ ignore = [
50
+ "B905",
51
+ "B008",
52
+ "B006",
53
+ "S101", # bandit: use of assert https://docs.astral.sh/ruff/rules/assert/
54
+ ]
55
+
56
+
57
+ [tool.ruff.lint.per-file-ignores]
58
+ # Ignore Bandit security checks in the test directories
59
+ "diracx-testing/*" = ["S"]
60
+ "diracx-*/tests/*" = ["S"]
61
+
62
+ [tool.ruff.lint.flake8-bugbear]
63
+ # Allow default arguments like, e.g., `data: List[str] = fastapi.Query(None)`.
64
+ extend-immutable-calls = [
65
+ "fastapi.Depends",
66
+ "fastapi.Query",
67
+ "fastapi.Path",
68
+ "fastapi.Body",
69
+ "fastapi.Header",
70
+ ]
71
+
72
+
53
73
  [tool.isort]
54
74
  profile = "black"
55
75
 
56
- [tool.ruff.flake8-bugbear]
57
- # Allow default arguments like, e.g., `data: List[str] = fastapi.Query(None)`.
58
- extend-immutable-calls = ["fastapi.Depends", "fastapi.Query", "fastapi.Path", "fastapi.Body", "fastapi.Header"]
59
76
 
60
77
  [tool.mypy]
61
78
  files = [
@@ -100,8 +117,10 @@ testpaths = [
100
117
  ]
101
118
  addopts = [
102
119
  "-v",
103
- "--cov=diracx", "--cov-report=term-missing",
104
- "-pdiracx.testing", "-pdiracx.testing.osdb",
120
+ "--cov=diracx",
121
+ "--cov-report=term-missing",
122
+ "-pdiracx.testing",
123
+ "-pdiracx.testing.osdb",
105
124
  "--import-mode=importlib",
106
125
  ]
107
126
  asyncio_mode = "auto"
File without changes
File without changes