Skip to content

Commit 62744b9

Browse files
committed
add new omit pattern, resolves #259, bump to 3.4.2
1 parent 5c10a4b commit 62744b9

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Unreleased
22
#### Date TBD
33

4+
# Version 3.4.2
5+
#### 23 May 2022
46

7+
- Added `*/dist-packages*` to the default
8+
- The development script, `./g`, now defaults to looking for `python3`
59

610
# Version 3.4.1
711
#### 20 January 2021

Diff for: g

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
# USAGE: ./g [python version] [green options]
44

55
# If the first argument is a version number, use it to run that version of python
6-
PYTHON=python
7-
if [ "$1" == "pypy" ] ; then
6+
PYTHON=python3
7+
if [ "$1" == "pypy" ]; then
88
PYTHON=pypy
99
shift
10-
elif [ "$1" == "pypy3" ] ; then
10+
elif [ "$1" == "pypy3" ]; then
1111
PYTHON=pypy3
1212
shift
13-
elif [[ -e `which python$1` ]] ; then
13+
elif [[ -e $(which python$1) ]]; then
1414
PYTHON=python$1
1515
shift
1616
fi

Diff for: green/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.1
1+
3.4.2

Diff for: green/config.py

+1
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,7 @@ def mergeConfig(args, testing=False): # pragma: no cover
796796
"*/unittest2*", # pulled in by testtools
797797
"*Python.framework*", # OS X system python
798798
"*site-packages*", # System python for other OS's
799+
"*/dist-packages*", # Resolves issue #259
799800
tempfile.gettempdir() + "*",
800801
]
801802
if new_args.clear_omit:

0 commit comments

Comments
 (0)