rbx.cp 0.10.1__py3-none-any.whl → 0.10.3__py3-none-any.whl
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.
- rbx/box/contest/main.py +2 -3
- rbx/box/creation.py +1 -2
- rbx/box/linting.py +3 -3
- rbx/box/presets/__init__.py +2 -1
- rbx/resources/presets/default/shared/contest_template.rbx.tex +7 -14
- rbx/resources/presets/default/shared/problem_template.rbx.tex +1 -1
- {rbx_cp-0.10.1.dist-info → rbx_cp-0.10.3.dist-info}/METADATA +1 -1
- {rbx_cp-0.10.1.dist-info → rbx_cp-0.10.3.dist-info}/RECORD +11 -11
- {rbx_cp-0.10.1.dist-info → rbx_cp-0.10.3.dist-info}/LICENSE +0 -0
- {rbx_cp-0.10.1.dist-info → rbx_cp-0.10.3.dist-info}/WHEEL +0 -0
- {rbx_cp-0.10.1.dist-info → rbx_cp-0.10.3.dist-info}/entry_points.txt +0 -0
rbx/box/contest/main.py
CHANGED
@@ -16,7 +16,6 @@ from rbx.box.contest.contest_package import (
|
|
16
16
|
within_contest,
|
17
17
|
)
|
18
18
|
from rbx.box.contest.schema import ContestProblem
|
19
|
-
from rbx.box.linting import fix_package
|
20
19
|
from rbx.box.packaging import contest_main as packaging
|
21
20
|
from rbx.box.schema import Package
|
22
21
|
from rbx.config import open_editor
|
@@ -75,7 +74,7 @@ def create(
|
|
75
74
|
|
76
75
|
with cd.new_package_cd(dest_path):
|
77
76
|
contest_utils.clear_all_caches()
|
78
|
-
fix_package()
|
77
|
+
# fix_package()
|
79
78
|
presets.generate_lock()
|
80
79
|
|
81
80
|
|
@@ -98,7 +97,7 @@ def init(
|
|
98
97
|
presets.install_contest(pathlib.Path.cwd(), fetch_info)
|
99
98
|
|
100
99
|
contest_utils.clear_all_caches()
|
101
|
-
fix_package()
|
100
|
+
# fix_package()
|
102
101
|
presets.generate_lock()
|
103
102
|
|
104
103
|
|
rbx/box/creation.py
CHANGED
@@ -5,7 +5,6 @@ import typer
|
|
5
5
|
|
6
6
|
from rbx import console, utils
|
7
7
|
from rbx.box import package, presets
|
8
|
-
from rbx.box.linting import fix_package
|
9
8
|
|
10
9
|
|
11
10
|
def create(
|
@@ -43,6 +42,6 @@ def create(
|
|
43
42
|
problem['name'] = name
|
44
43
|
utils.save_ruyaml(dest_path / 'problem.rbx.yml', ru, problem)
|
45
44
|
|
46
|
-
fix_package(dest_path)
|
45
|
+
# fix_package(dest_path)
|
47
46
|
|
48
47
|
presets.generate_lock(dest_path)
|
rbx/box/linting.py
CHANGED
@@ -51,9 +51,9 @@ def fix_yaml(
|
|
51
51
|
)
|
52
52
|
_, changed = yamlfix.fix_files([str(path)], dry_run=False, config=config)
|
53
53
|
|
54
|
-
if model_cls is not None:
|
55
|
-
|
56
|
-
|
54
|
+
# if model_cls is not None:
|
55
|
+
# if fix_language_server(path, model_cls):
|
56
|
+
# changed = True
|
57
57
|
|
58
58
|
if changed and verbose:
|
59
59
|
console.console.print(
|
rbx/box/presets/__init__.py
CHANGED
@@ -832,7 +832,8 @@ def copy_tree_normalizing_gitdir(
|
|
832
832
|
):
|
833
833
|
from rbx.box import git_utils
|
834
834
|
|
835
|
-
shutil.copytree(str(src_path), str(dst_path), dirs_exist_ok=update)
|
835
|
+
shutil.copytree(str(src_path), str(dst_path), dirs_exist_ok=update, symlinks=True)
|
836
|
+
|
836
837
|
if not (src_path / '.git').is_file():
|
837
838
|
return
|
838
839
|
|
@@ -1,14 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
\def\lang{\VAR{lang}}
|
4
|
-
\usepackage{icpc}
|
5
|
-
|
6
|
-
%- if problem.blocks.preamble is defined
|
7
|
-
\VAR{problem.blocks.preamble}
|
8
|
-
%- endif
|
9
|
-
|
10
|
-
\begin{document}
|
11
|
-
|
1
|
+
%- if vars.show_problem is truthy
|
12
2
|
\includeProblem
|
13
3
|
%- if problem.short_name is defined
|
14
4
|
[\VAR{problem.short_name}]
|
@@ -49,9 +39,12 @@
|
|
49
39
|
%- endif
|
50
40
|
|
51
41
|
%- if problem.blocks.notes is defined
|
52
|
-
\subsection*{
|
42
|
+
\subsection*{\strNotes}
|
53
43
|
\VAR{problem.blocks.notes}
|
54
44
|
%- endif
|
55
45
|
}
|
56
|
-
|
57
|
-
|
46
|
+
%- endif
|
47
|
+
%- if problem.blocks.editorial is nonnull and vars.editorial is truthy
|
48
|
+
\subsection*{\strSolution}
|
49
|
+
\VAR{problem.blocks.editorial}
|
50
|
+
%- endif
|
@@ -13,10 +13,10 @@ rbx/box/contest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
rbx/box/contest/build_contest_statements.py,sha256=SLAhvYPlRD1gCKJRxnDWYsJeF9xMir9L1_cYISG3JD4,12028
|
14
14
|
rbx/box/contest/contest_package.py,sha256=r6BGq3S4Ezj3Ep7pCmtvz3SN44npb2_rKJEoT5lSOqk,2985
|
15
15
|
rbx/box/contest/contest_utils.py,sha256=fsWHG1e65wq9zvRY3tdf32VF0nU1yzGTOBX5yjXiNk4,1102
|
16
|
-
rbx/box/contest/main.py,sha256=
|
16
|
+
rbx/box/contest/main.py,sha256=e_DjbrwpXTFZQaVWJO7prJyehJ702GkVEAGEraRK6h4,8352
|
17
17
|
rbx/box/contest/schema.py,sha256=eb7xtyq078YYWYHueximNhyHFINzwgLMFm1j9U3LxBQ,7461
|
18
18
|
rbx/box/contest/statements.py,sha256=wTLmCO3VlGUcN-CzBf-uKUSOAbLUnDeZhdMcsIuF63A,3803
|
19
|
-
rbx/box/creation.py,sha256=
|
19
|
+
rbx/box/creation.py,sha256=oTAC11XV2Pw2YAlF_d11Eo7A1fD6ItlpFMpLEzMLyFI,1331
|
20
20
|
rbx/box/deferred.py,sha256=II3X9e87JCOZtmspnHh-n4PFqh-FsH_oc0XJHZ9ZYVQ,691
|
21
21
|
rbx/box/download.py,sha256=tLW5gLVeLk0gHMEMwScSoHIXQPkXuPsqXzItsrsnUZY,3070
|
22
22
|
rbx/box/dump_schemas.py,sha256=3j5t47_vJmXj0BCczxDX6ByOcsfolGEDNCBXlPpk86w,593
|
@@ -32,7 +32,7 @@ rbx/box/header.py,sha256=ifErXcIxG5lM5AyRiHDr7JE401vR4ORNXCNpHXxN_ls,2001
|
|
32
32
|
rbx/box/lang.py,sha256=GaWvf4rgukflIZ9ti4MUKSJcz9wm2mIVuFcrO-pA8L8,669
|
33
33
|
rbx/box/lazy_importing_main.py,sha256=6Z8As7qVFFT619xHH9Xt8VCH57NjC4aDxfAgkWiUwT8,116
|
34
34
|
rbx/box/lazy_importing_test.py,sha256=B0-b3y_DkxEmtVfu4NfmVsgVdFl6kRCsEL6GLMHJISo,628
|
35
|
-
rbx/box/linting.py,sha256=
|
35
|
+
rbx/box/linting.py,sha256=wRE0hKCduTBHZYBFmmis_d9AMTsDu0Q-AjByCeTnkrY,3187
|
36
36
|
rbx/box/main.py,sha256=a8CYi77kOywPFly4-ucEIJLXQW-1NFp91kK2fA42YTE,86
|
37
37
|
rbx/box/naming.py,sha256=pOG37X_wQM9CCSYwJIUf-b-ZHEs_nchO7wQEdP_quJg,1367
|
38
38
|
rbx/box/package.py,sha256=ezSiqCl0EYEiasMeg8XF79Kyh6kqvabmrobNveEzcLM,13554
|
@@ -50,7 +50,7 @@ rbx/box/packaging/polygon/polygon_api.py,sha256=mPKEqiwANJ1nr-JhOgzGMaDhnbljsAgz
|
|
50
50
|
rbx/box/packaging/polygon/test.py,sha256=bgEju5PwudgyfwxXJagm8fM6CJVlWM6l_-2q1V-oKaQ,3069
|
51
51
|
rbx/box/packaging/polygon/upload.py,sha256=6dIbjwygKtirLBkbh40UgtHU1NHGxSMoFAtg2BcC2II,12902
|
52
52
|
rbx/box/packaging/polygon/xml_schema.py,sha256=ZgcLyvxggMUccbTNdzflue5G-FTN2_ZmOGGF7FD0Y5A,2851
|
53
|
-
rbx/box/presets/__init__.py,sha256=
|
53
|
+
rbx/box/presets/__init__.py,sha256=L6fy_hetXnB8Eo_MO3oadv_ce2hwVW2J-BJm9CooEdA,33432
|
54
54
|
rbx/box/presets/fetch.py,sha256=900aq9S8e12TlgSenG0iHgtF4OWgqavZsptgI_a1YKM,2508
|
55
55
|
rbx/box/presets/lock_schema.py,sha256=8PKL7UMX4dkdVpCPLwYtaNIIrZpAfHGvTfnF8bRFedM,1708
|
56
56
|
rbx/box/presets/schema.py,sha256=iOGWHqJ9Z-ljQV8ljOjQMuCwqJQLJKm_pYX9cLjZbmE,2432
|
@@ -223,9 +223,9 @@ rbx/resources/presets/default/problem/testplan/random.py,sha256=-iPorU24QHfp39EY
|
|
223
223
|
rbx/resources/presets/default/problem/testplan/random.txt,sha256=2BA_AM8IAKEcrUTJhnzWnNJN8whDN82E2137NhFkt2U,137
|
224
224
|
rbx/resources/presets/default/problem/validator.cpp,sha256=w4gl1u30Dx1N9oRTVtIg_rPlIyL6QdN_Bi5FDpp4gyw,317
|
225
225
|
rbx/resources/presets/default/problem/wcmp.cpp,sha256=gbjJe3Vf9-YzHCEqBUq30aI3jMZXhqBDn3jjecYOn-w,902
|
226
|
-
rbx/resources/presets/default/shared/contest_template.rbx.tex,sha256=
|
226
|
+
rbx/resources/presets/default/shared/contest_template.rbx.tex,sha256=G1s4c-h8FoHtCCvNifl-MFTkdFGtSie7ZVIT7BUqB3I,1266
|
227
227
|
rbx/resources/presets/default/shared/icpc.sty,sha256=A_bSsldpeyzxRCYWpc6k55P5zrDZFpHaIcvZ_WOVW30,8043
|
228
|
-
rbx/resources/presets/default/shared/problem_template.rbx.tex,sha256=
|
228
|
+
rbx/resources/presets/default/shared/problem_template.rbx.tex,sha256=AjziXNWluAGsQiPQ2r477RkrMpNQJ1kcgidU8T_C4KA,1281
|
229
229
|
rbx/resources/templates/rbx.h,sha256=Iwtmr2gdDYmZ2VlIurmleBb_uEpriWd4EX0dJta8xUA,2179
|
230
230
|
rbx/resources/templates/template.cpp,sha256=xXWpWo7fa7HfmPNqkmHcmv3i46Wm0ZL-gPmkRfGvLn4,317
|
231
231
|
rbx/run.py,sha256=8WsEAdj7FwYSc9itfJ977n5HN5CYN63T__HRYI6IB1A,1515
|
@@ -239,8 +239,8 @@ rbx/testcase.py,sha256=yKOq3CAJZ1YTmInvnoIs0u1iJnRj_X85XiWbLI-p9d8,1951
|
|
239
239
|
rbx/testcase_rendering.py,sha256=nfmv6dSEqd4aR3TsaODwkKGK6AXty_DDKtWf_ejiQpI,2084
|
240
240
|
rbx/testing_utils.py,sha256=x_PqD8Zd2PkN91NxVHUnSTs044-1WK5KKtttKQBXpFs,2083
|
241
241
|
rbx/utils.py,sha256=YvN0q1vaLR9HxUfXKOTx1iN6Bp_fI8YNTQiJ8TNq7eM,4957
|
242
|
-
rbx_cp-0.10.
|
243
|
-
rbx_cp-0.10.
|
244
|
-
rbx_cp-0.10.
|
245
|
-
rbx_cp-0.10.
|
246
|
-
rbx_cp-0.10.
|
242
|
+
rbx_cp-0.10.3.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
243
|
+
rbx_cp-0.10.3.dist-info/METADATA,sha256=s6VX1TzMU2m93JsNPCcGlgRaoaBaR0x1M6wtBk31ASc,4625
|
244
|
+
rbx_cp-0.10.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
245
|
+
rbx_cp-0.10.3.dist-info/entry_points.txt,sha256=qBTLBOeifT1F00LWaEewRRE_jQPgvH7BUdJfZ-dYsFU,57
|
246
|
+
rbx_cp-0.10.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|