File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ def initialize(
5555
5656 build_data ["artifacts" ].append (str (out_dir .relative_to (self .root )))
5757
58+ print (build_data ["artifacts" ])
59+
5860
5961def load_scripts (config : dict [str , Any ]) -> Sequence [OneScriptConfig ]:
6062 script_defaults = dataclass_defaults (OneScriptConfig )
Original file line number Diff line number Diff line change 1+ from os .path import join as joinpath
2+
13from hatch_build_scripts .plugin import OneScriptConfig
24
35from .utils import create_project
@@ -55,7 +57,7 @@ def test_plugin(tmpdir):
5557 with proj .dist () as dist :
5658 files = {file .filename for file in dist .filelist }
5759
58- assert "fake/fake.txt" in files
59- assert "some-dir-out/ module.py" in files
60- assert "another-dir-out/ module.py" not in files
61- assert "some-dir-out/ f3.txt" not in files
60+ assert joinpath ( "fake/fake.txt" ) in files
61+ assert joinpath ( "some-dir-out" , " module.py") in files
62+ assert joinpath ( "another-dir-out" , " module.py") not in files
63+ assert joinpath ( "some-dir-out" , " f3.txt") not in files
You can’t perform that action at this time.
0 commit comments