File tree Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
[build-system ]
2
- build-backend = " flit_core.buildapi "
2
+ build-backend = " hatchling.build "
3
3
requires = [
4
- " flit_core<4,>=2" ,
4
+ " hatch-vcs" ,
5
+ " hatchling" ,
5
6
]
6
7
7
8
[project ]
@@ -30,4 +31,10 @@ Changelog = "https://github.com/python/core-workflow/tree/main/blurb#changelog"
30
31
Homepage = " https://github.com/python/core-workflow/tree/main/blurb"
31
32
Source = " https://github.com/python/core-workflow/tree/main/blurb"
32
33
[project .scripts ]
33
- blurb = " blurb:main"
34
+ blurb = " blurb.blurb:main"
35
+
36
+ [tool .hatch ]
37
+ version.source = " vcs"
38
+
39
+ [tool .hatch .version .raw-options ]
40
+ local_scheme = " no-local-version"
File renamed without changes.
Original file line number Diff line number Diff line change @@ -829,7 +829,7 @@ def test(*args):
829
829
# unittest.main doesn't work because this isn't a module
830
830
# so we'll do it ourselves
831
831
832
- while not ( os .path .isdir (".git" ) and os . path . isdir ( " blurb") ):
832
+ while not os .path .isdir ("blurb" ):
833
833
old_dir = os .getcwd ()
834
834
os .chdir (".." )
835
835
if old_dir == os .getcwd ():
Original file line number Diff line number Diff line change 1
1
import pytest
2
2
from pyfakefs .fake_filesystem import FakeFilesystem
3
3
4
- import blurb
4
+ from blurb import blurb
5
5
6
6
7
7
UNCHANGED_SECTIONS = (
You can’t perform that action at this time.
0 commit comments