-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 485 allow invalid extensions (#562)
- Loading branch information
1 parent
a1b312b
commit 2ae57f4
Showing
11 changed files
with
180 additions
and
42 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
1 change: 1 addition & 0 deletions
1
crates/cli_bin/fixtures/invalid_extensions/some_folder/file1.py
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 @@ | ||
class MyClass(object): ... |
1 change: 1 addition & 0 deletions
1
crates/cli_bin/fixtures/invalid_extensions/some_folder/file2.pyi
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 @@ | ||
class MyClass(object): ... |
1 change: 1 addition & 0 deletions
1
crates/cli_bin/fixtures/invalid_extensions/some_folder/file3.nopy
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 @@ | ||
class MyClass(object): ... |
3 changes: 3 additions & 0 deletions
3
crates/cli_bin/fixtures/invalid_extensions/some_folder/file4.js.py
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,3 @@ | ||
const mine = (object) => { | ||
return String(object) + 'is mine'; | ||
}; |
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
5 changes: 5 additions & 0 deletions
5
crates/cli_bin/tests/snapshots/apply__apply_to_folder_with_invalid_python_extension.snap
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,5 @@ | ||
--- | ||
source: crates/cli_bin/tests/apply.rs | ||
expression: content | ||
--- | ||
class MyClass(object): ... |
7 changes: 7 additions & 0 deletions
7
crates/cli_bin/tests/snapshots/apply__apply_to_path_with_invalid_javascript_extension.snap
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,7 @@ | ||
--- | ||
source: crates/cli_bin/tests/apply.rs | ||
expression: content | ||
--- | ||
const mine = () => { | ||
return String() + 'is mine'; | ||
}; |
7 changes: 7 additions & 0 deletions
7
crates/cli_bin/tests/snapshots/apply__apply_to_path_with_invalid_lang.snap
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,7 @@ | ||
--- | ||
source: crates/cli_bin/tests/apply.rs | ||
expression: content | ||
--- | ||
const mine = () => { | ||
return String() + 'is mine'; | ||
}; |
5 changes: 5 additions & 0 deletions
5
crates/cli_bin/tests/snapshots/apply__apply_to_path_with_invalid_python_extension.snap
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,5 @@ | ||
--- | ||
source: crates/cli_bin/tests/apply.rs | ||
expression: content | ||
--- | ||
class MyClass(): ... |
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