-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from radon-project/mypy-strict-passing
Mypy strict passing.
- Loading branch information
Showing
29 changed files
with
256 additions
and
376 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,58 +1,58 @@ | ||
import Colorlib | ||
import colorlib | ||
|
||
# Print colored text to the console using the colorlib library | ||
print(Colorlib.white("My name is John Doe")) | ||
print(Colorlib.red("My name is John Doe")) | ||
print(Colorlib.green("My name is John Doe")) | ||
print(Colorlib.yellow("My name is John Doe")) | ||
print(Colorlib.blue("My name is John Doe")) | ||
print(Colorlib.purple("My name is John Doe")) | ||
print(Colorlib.cyan("My name is John Doe")) | ||
print(Colorlib.gray("My name is John Doe")) | ||
print(Colorlib.black("My name is John Doe")) | ||
print(Colorlib.bgWhite("My name is John Doe")) | ||
print(Colorlib.bgRed("My name is John Doe")) | ||
print(Colorlib.bgGreen("My name is John Doe")) | ||
print(Colorlib.bgYellow("My name is John Doe")) | ||
print(Colorlib.bgBlue("My name is John Doe")) | ||
print(Colorlib.bgPurple("My name is John Doe")) | ||
print(Colorlib.bgCyan("My name is John Doe")) | ||
print(Colorlib.bgGray("My name is John Doe")) | ||
print(Colorlib.bgBlack("My name is John Doe")) | ||
print(Colorlib.bold("My name is John Doe")) | ||
print(Colorlib.italic("My name is John Doe")) | ||
print(Colorlib.underline("My name is John Doe")) | ||
print(Colorlib.inverse("My name is John Doe")) | ||
print(Colorlib.hidden("My name is John Doe")) | ||
print(Colorlib.strikethrough("My name is John Doe")) | ||
print(Colorlib.blackBright("My name is John Doe")) | ||
print(Colorlib.redBright("My name is John Doe")) | ||
print(Colorlib.greenBright("My name is John Doe")) | ||
print(Colorlib.yellowBright("My name is John Doe")) | ||
print(Colorlib.blueBright("My name is John Doe")) | ||
print(Colorlib.purpleBright("My name is John Doe")) | ||
print(Colorlib.cyanBright("My name is John Doe")) | ||
print(Colorlib.whiteBright("My name is John Doe")) | ||
print(Colorlib.bgBlackBright("My name is John Doe")) | ||
print(Colorlib.bgRedBright("My name is John Doe")) | ||
print(Colorlib.bgGreenBright("My name is John Doe")) | ||
print(Colorlib.bgYellowBright("My name is John Doe")) | ||
print(Colorlib.bgBlueBright("My name is John Doe")) | ||
print(Colorlib.bgPurpleBright("My name is John Doe")) | ||
print(Colorlib.bgCyanBright("My name is John Doe")) | ||
print(Colorlib.bgWhiteBright("My name is John Doe")) | ||
print(Colorlib.reset("My name is John Doe")) | ||
print(Colorlib.bold("My name is John Doe")) | ||
print(Colorlib.italic("My name is John Doe")) | ||
print(Colorlib.underline("My name is John Doe")) | ||
print(Colorlib.inverse("My name is John Doe")) | ||
print(Colorlib.hidden("My name is John Doe")) | ||
print(Colorlib.strikethrough("My name is John Doe")) | ||
print(Colorlib.bgReset("My name is John Doe")) | ||
print(Colorlib.bgBoldBright("My name is John Doe")) | ||
print(colorlib.white("My name is John Doe")) | ||
print(colorlib.red("My name is John Doe")) | ||
print(colorlib.green("My name is John Doe")) | ||
print(colorlib.yellow("My name is John Doe")) | ||
print(colorlib.blue("My name is John Doe")) | ||
print(colorlib.purple("My name is John Doe")) | ||
print(colorlib.cyan("My name is John Doe")) | ||
print(colorlib.gray("My name is John Doe")) | ||
print(colorlib.black("My name is John Doe")) | ||
print(colorlib.bgWhite("My name is John Doe")) | ||
print(colorlib.bgRed("My name is John Doe")) | ||
print(colorlib.bgGreen("My name is John Doe")) | ||
print(colorlib.bgYellow("My name is John Doe")) | ||
print(colorlib.bgBlue("My name is John Doe")) | ||
print(colorlib.bgPurple("My name is John Doe")) | ||
print(colorlib.bgCyan("My name is John Doe")) | ||
print(colorlib.bgGray("My name is John Doe")) | ||
print(colorlib.bgBlack("My name is John Doe")) | ||
print(colorlib.bold("My name is John Doe")) | ||
print(colorlib.italic("My name is John Doe")) | ||
print(colorlib.underline("My name is John Doe")) | ||
print(colorlib.inverse("My name is John Doe")) | ||
print(colorlib.hidden("My name is John Doe")) | ||
print(colorlib.strikethrough("My name is John Doe")) | ||
print(colorlib.blackBright("My name is John Doe")) | ||
print(colorlib.redBright("My name is John Doe")) | ||
print(colorlib.greenBright("My name is John Doe")) | ||
print(colorlib.yellowBright("My name is John Doe")) | ||
print(colorlib.blueBright("My name is John Doe")) | ||
print(colorlib.purpleBright("My name is John Doe")) | ||
print(colorlib.cyanBright("My name is John Doe")) | ||
print(colorlib.whiteBright("My name is John Doe")) | ||
print(colorlib.bgBlackBright("My name is John Doe")) | ||
print(colorlib.bgRedBright("My name is John Doe")) | ||
print(colorlib.bgGreenBright("My name is John Doe")) | ||
print(colorlib.bgYellowBright("My name is John Doe")) | ||
print(colorlib.bgBlueBright("My name is John Doe")) | ||
print(colorlib.bgPurpleBright("My name is John Doe")) | ||
print(colorlib.bgCyanBright("My name is John Doe")) | ||
print(colorlib.bgWhiteBright("My name is John Doe")) | ||
print(colorlib.reset("My name is John Doe")) | ||
print(colorlib.bold("My name is John Doe")) | ||
print(colorlib.italic("My name is John Doe")) | ||
print(colorlib.underline("My name is John Doe")) | ||
print(colorlib.inverse("My name is John Doe")) | ||
print(colorlib.hidden("My name is John Doe")) | ||
print(colorlib.strikethrough("My name is John Doe")) | ||
print(colorlib.bgReset("My name is John Doe")) | ||
print(colorlib.bgBoldBright("My name is John Doe")) | ||
|
||
# chaining multiple styles and Colorlibs combined multiple times | ||
print(Colorlib.bold(Colorlib.bgPurple(Colorlib.white("My name is John Doe")))) | ||
print(Colorlib.italic(Colorlib.bgRed(Colorlib.green("My name is John Doe")))) | ||
print(Colorlib.underline(Colorlib.bgYellow(Colorlib.blue("My name is John Doe")))) | ||
print(Colorlib.inverse(Colorlib.bgBlue(Colorlib.yellow("My name is John Doe")))) | ||
# chaining multiple styles and colorlibs combined multiple times | ||
print(colorlib.bold(colorlib.bgPurple(colorlib.white("My name is John Doe")))) | ||
print(colorlib.italic(colorlib.bgRed(colorlib.green("My name is John Doe")))) | ||
print(colorlib.underline(colorlib.bgYellow(colorlib.blue("My name is John Doe")))) | ||
print(colorlib.inverse(colorlib.bgBlue(colorlib.yellow("My name is John Doe")))) |
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,14 @@ | ||
|
||
const f = File("examples/files.rn") | ||
const contents = f.read() | ||
f.close() | ||
f.is_closed() | ||
const f1 = File("examples/files.rn") | ||
const contents = f1.read() | ||
f1.close() | ||
f1.is_closed() | ||
|
||
print(contents) | ||
|
||
print("-------------") | ||
|
||
f = File("examples/files.rn") | ||
print(f.readline()) | ||
print(f.readlines()) | ||
const f2 = File("examples/files.rn") | ||
print(f2.readline()) | ||
print(f2.readlines()) | ||
|
||
f.close() | ||
f2.close() |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.