Skip to content

Commit 9176f7c

Browse files
Merge pull request #2802 from PraveenMudalgeri/bump-ccxt-version-#2800
Bump ccxt to 4.4.96 and resolve Python warnings
2 parents 1073d5f + 5ebf956 commit 9176f7c

22 files changed

+145
-37
lines changed

.vscode/c_cpp_properties.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "windows-gcc-x64",
5+
"includePath": [
6+
"${workspaceFolder}/**"
7+
],
8+
"compilerPath": "gcc",
9+
"cStandard": "${default}",
10+
"cppStandard": "${default}",
11+
"intelliSenseMode": "windows-gcc-x64",
12+
"compilerArgs": [
13+
""
14+
]
15+
}
16+
],
17+
"version": 4
18+
}

.vscode/launch.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "C/C++ Runner: Debug Session",
6+
"type": "cppdbg",
7+
"request": "launch",
8+
"args": [],
9+
"stopAtEntry": false,
10+
"externalConsole": true,
11+
"cwd": "c:/Users/prave/python_examples/geekcomputers",
12+
"program": "c:/Users/prave/python_examples/geekcomputers/build/Debug/outDebug",
13+
"MIMode": "gdb",
14+
"miDebuggerPath": "gdb",
15+
"setupCommands": [
16+
{
17+
"description": "Enable pretty-printing for gdb",
18+
"text": "-enable-pretty-printing",
19+
"ignoreFailures": true
20+
}
21+
]
22+
}
23+
]
24+
}

.vscode/settings.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"C_Cpp_Runner.cCompilerPath": "gcc",
3+
"C_Cpp_Runner.cppCompilerPath": "g++",
4+
"C_Cpp_Runner.debuggerPath": "gdb",
5+
"C_Cpp_Runner.cStandard": "",
6+
"C_Cpp_Runner.cppStandard": "",
7+
"C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/VR_NR/Community/VC/Auxiliary/Build/vcvarsall.bat",
8+
"C_Cpp_Runner.useMsvc": false,
9+
"C_Cpp_Runner.warnings": [
10+
"-Wall",
11+
"-Wextra",
12+
"-Wpedantic",
13+
"-Wshadow",
14+
"-Wformat=2",
15+
"-Wcast-align",
16+
"-Wconversion",
17+
"-Wsign-conversion",
18+
"-Wnull-dereference"
19+
],
20+
"C_Cpp_Runner.msvcWarnings": [
21+
"/W4",
22+
"/permissive-",
23+
"/w14242",
24+
"/w14287",
25+
"/w14296",
26+
"/w14311",
27+
"/w14826",
28+
"/w44062",
29+
"/w44242",
30+
"/w14905",
31+
"/w14906",
32+
"/w14263",
33+
"/w44265",
34+
"/w14928"
35+
],
36+
"C_Cpp_Runner.enableWarnings": true,
37+
"C_Cpp_Runner.warningsAsError": false,
38+
"C_Cpp_Runner.compilerArgs": [],
39+
"C_Cpp_Runner.linkerArgs": [],
40+
"C_Cpp_Runner.includePaths": [],
41+
"C_Cpp_Runner.includeSearch": [
42+
"*",
43+
"**/*"
44+
],
45+
"C_Cpp_Runner.excludeSearch": [
46+
"**/build",
47+
"**/build/**",
48+
"**/.*",
49+
"**/.*/**",
50+
"**/.vscode",
51+
"**/.vscode/**"
52+
],
53+
"C_Cpp_Runner.useAddressSanitizer": false,
54+
"C_Cpp_Runner.useUndefinedSanitizer": false,
55+
"C_Cpp_Runner.useLeakSanitizer": false,
56+
"C_Cpp_Runner.showCompilationTime": false,
57+
"C_Cpp_Runner.useLinkTimeOptimization": false,
58+
"C_Cpp_Runner.msvcSecureNoWarnings": false
59+
}

CountMillionCharacter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99
import re
1010

11-
pattern = re.compile("\W") # re is used to compile the expression more than once
11+
pattern = re.compile(r"\W") # re is used to compile the expression more than once
1212
# wordstring consisting of a million characters
1313
wordstring = """SCENE I. Yorkshire. Gaultree Forest.
1414
Enter the ARCHBISHOP OF YORK, MOWBRAY, LORD HASTINGS, and others

JARVIS/JARVIS_2.0.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ def get_app(Q):
311311
"shell": "powershell.exe",
312312
"paint": "mspaint.exe",
313313
"cmd": "cmd.exe",
314-
"browser": "C:\\Program Files\Internet Explorer\iexplore.exe",
315-
"vscode": "C:\\Users\\Users\\User\\AppData\\Local\\Programs\Microsoft VS Code"
314+
"browser": r"C:\\Program Files\Internet Explorer\iexplore.exe",
315+
"vscode": r"C:\\Users\\Users\\User\\AppData\\Local\\Programs\Microsoft VS Code"
316316
}
317317
# master
318318

Organise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def Organize(dirs, name):
6969
print("{} Folder Exist".format(name))
7070

7171
src = "{}\\{}".format(destLocation, dirs)
72-
dest = "{}\{}".format(destLocation, name)
72+
dest = "{}\\{}".format(destLocation, name)
7373

7474
os.chdir(dest)
7575
shutil.move(src, "{}\\{}".format(dest, dirs))

Python Program to Remove Punctuations from a String.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# define punctuation
2-
punctuations = '''!()-[]{};:'"\,<>./?@#$%^&*_~'''
2+
punctuations = r'''!()-[]{};:'"\,<>./?@#$%^&*_~'''
33

44
my_str = "Hello!!!, he said ---and went."
55

ReadFromCSV.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""reading data from SalesData.csv file
99
and passing data to dataframe"""
1010

11-
df = pd.read_csv("..\SalesData.csv") # Reading the csv file
11+
df = pd.read_csv(r"..\SalesData.csv") # Reading the csv file
1212
x = df[
1313
"SalesID"
1414
].as_matrix() # casting SalesID to list #extracting the column with name SalesID

SpeechToText.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
print(voice.id)
88
print(voice.name)
99

10-
id ="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-US_DAVID_11.0"
10+
id =r"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-US_DAVID_11.0"
1111
engine.setProperty("voices",id )
1212
engine.setProperty("rate",165)
1313
engine.say("jarivs") # Replace string with our own text

Street_Fighter/docs/README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,18 @@
2727
- **Custom Controls** for two players.
2828

2929
## 📋 Table of Contents
30-
- [Features](#features)
31-
- [Requirements](#requirements)
32-
- [Installation](#installation)
33-
- [Gameplay Instructions](#gameplay-instructions)
34-
- [Downloads](#downloads)
35-
- [License](#license)
36-
- [Credits](#credits)
37-
- [Contributing](#contributing)
38-
- [Contact](#contact)
30+
- [Street Fighter](#street-fighter)
31+
- [Features](#features)
32+
- [📋 Table of Contents](#-table-of-contents)
33+
- [Requirements](#requirements)
34+
- [Installation](#installation)
35+
- [Gameplay Instructions](#gameplay-instructions)
36+
- [Player Controls:](#player-controls)
37+
- [Downloads](#downloads)
38+
- [License](#license)
39+
- [Credits](#credits)
40+
- [Contributing](#contributing)
41+
- [Contact](#contact)
3942

4043
## Requirements
4144
- Python 3.7 or higher
@@ -56,7 +59,7 @@ Follow these steps to install and run the game:
5659

5760
2. **Install Dependencies**:
5861
```bash
59-
pip install -r requirements.txt
62+
pip install -r
6063
```
6164

6265
3. **Run the Game**:

0 commit comments

Comments
 (0)