-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change marker token to "#@" as "#:" was showing up in the wild
Add ability to ignore a directory Add more error catching
- Loading branch information
Showing
21 changed files
with
108 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.1.0' | ||
__version__ = '0.2.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print("This should blow up") #@ a comment without a token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# This is a sample file | ||
|
||
a = "In all chapters" # inline comment | ||
b = "In chapters 1-3" #:1-3 comment on conditional | ||
c = "In chapters 1-2" #:-2 | ||
d = "In chapters 2 on" #:2- | ||
b = "In chapters 1-3" #@1-3 comment on conditional | ||
c = "In chapters 1-2" #@-2 | ||
d = "In chapters 2 on" #@2- | ||
|
||
#::3-4 | ||
#@@3-4 | ||
#>e = "In chapters 3 to 4" # inline comment | ||
#>f = " as a block" | ||
|
||
for x in range(10): | ||
#::1-2 block header with comment | ||
#@@1-2 block header with comment | ||
#>g= "In chapters 1 and 2" | ||
h = "In all chapters" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# This is a sample file | ||
|
||
a = "In all chapters" # inline comment | ||
b = "In chapters 1-3" #:1-3 comment on conditional | ||
c = "In chapters 1-2" #:-2 | ||
d = "In chapters 2 on" #:2- | ||
b = "In chapters 1-3" #@1-3 comment on conditional | ||
c = "In chapters 1-2" #@-2 | ||
d = "In chapters 2 on" #@2- | ||
|
||
#::3-4 | ||
#@@3-4 | ||
#>e = "In chapters 3 to 4" # inline comment | ||
#>f = " as a block" | ||
|
||
for x in range(10): | ||
#::1-2 block header with comment | ||
#@@1-2 block header with comment | ||
#>g= "In chapters 1 and 2" | ||
h = "In all chapters" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#::2 | ||
#@@2 | ||
#>print("File and block only in 2") | ||
#>print(" this is a sub- block") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#::2-3 | ||
#@@2-3 | ||
#>e = "In chapters 2 and 3 only" | ||
#>f = " as a block" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
print("only in chapter 5") #:5 | ||
print("only in chapter 5") #@5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# This is a sample file | ||
|
||
a = "In all chapters" # inline comment | ||
b = "In chapters 1-3" #:1-3 comment on conditional | ||
c = "In chapters 1-2" #:-2 | ||
d = "In chapters 2 on" #:2- | ||
b = "In chapters 1-3" #@1-3 comment on conditional | ||
c = "In chapters 1-2" #@-2 | ||
d = "In chapters 2 on" #@2- | ||
|
||
#::3-4 | ||
#@@3-4 | ||
#>e = "In chapters 3 to 4" # inline comment | ||
#>f = " as a block" | ||
|
||
for x in range(10): | ||
#::1-2 block header with comment | ||
#@@1-2 block header with comment | ||
#>g= "In chapters 1 and 2" | ||
h = "In all chapters" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file should not be found as the directory is ignored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# This is a sample file | ||
|
||
a = "In all chapters" # inline comment | ||
b = "In chapters 1-3" #:1-3 comment on conditional | ||
c = "In chapters 1-2" #:-2 | ||
d = "In chapters 2 on" #:2- | ||
b = "In chapters 1-3" #@1-3 comment on conditional | ||
c = "In chapters 1-2" #@-2 | ||
d = "In chapters 2 on" #@2- | ||
|
||
#::3-4 | ||
#@@3-4 | ||
#>e = "In chapters 3 to 4" # inline comment | ||
#>f = " as a block" | ||
|
||
for x in range(10): | ||
#::1-2 block header with comment | ||
#@@1-2 block header with comment | ||
#>g= "In chapters 1 and 2" | ||
h = "In all chapters" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
output_dir = 'does_not_matter' | ||
src_dir = 'bad_code' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters