File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import nox
66
77paths = sn (root = Path (__file__ ).parent )
8- paths .pyproject = paths .root / 'pyproject.toml'
98sys .path .insert (0 , str (paths .root / 'utils' ))
109
1110from lib import toml # type: ignore
1211
1312def session (func ) : return nox .session (venv_backend = 'none' )(func )
1413
15- pkg = sn (dir = Path ( __file__ ). parent .name )
14+ pkg = sn (dir = paths . root .name )
1615pkg .name = pkg .dir .replace ('-' , '_' )
1716
1817# SESSIONS
Original file line number Diff line number Diff line change 55import nox
66
77paths = sn (root = Path (__file__ ).parent )
8- paths .pyproject = paths .root / 'pyproject.toml'
98sys .path .insert (0 , str (paths .root / 'utils' ))
109
1110from lib import toml # type: ignore
1211
1312def session (func ) : return nox .session (venv_backend = 'none' )(func )
1413
15- pkg = sn (dir = Path ( __file__ ). parent .name )
14+ pkg = sn (dir = paths . root .name )
1615pkg .name = pkg .dir .replace ('-' , '_' )
1716
1817# SESSIONS
You can’t perform that action at this time.
0 commit comments