Skip to content

Commit 2f3c593

Browse files
committed
Deleted unused pkg vars
1 parent e99b429 commit 2f3c593

9 files changed

Lines changed: 1 addition & 36 deletions

File tree

computer-languages/noxfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

data-languages/noxfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

find-project-root/noxfile.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

139
@session
1410
def dev(session) : session.run('pip', 'install', '-e', '.')
1511
@session
1612
def test_py26(session):
13+
from pathlib import Path
1714
root = Path(__file__).parent
1815
src_dir = root / 'src'
1916
markers_dir = root.parent / 'project-markers/src'

latin-locales/noxfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

markup-languages/noxfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

non-latin-locales/noxfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

programming-languages/noxfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

project-markers/noxfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

prose-languages/noxfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from pathlib import Path
21
import sys
3-
from types import SimpleNamespace as sn
42

53
import nox
64

75
py_cmd = 'py' if sys.platform.startswith('win') else 'python3'
8-
pkg = sn(dir=Path(__file__).parent.name)
9-
pkg.name = pkg.dir.replace('-', '_')
106

117
def session(func) : return nox.session(venv_backend='none', name=func.__name__.replace('_', '-'))(func)
128

0 commit comments

Comments
 (0)