Skip to content

Commit 76f5272

Browse files
authored
Merge pull request #25 from Alinvor/kernel
[DONE]合并分支
2 parents 67fee5e + 6e6bd17 commit 76f5272

36 files changed

Lines changed: 1004 additions & 210 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ venv.bak/
107107

108108

109109
# vscode files
110+
.vscode/
110111
.vscode/settings.json
111112

112113
# IDEA files
@@ -128,3 +129,5 @@ local.properties
128129
# Log Files
129130
*.log
130131

132+
# Temp Files
133+
Temp/

.vscode/settings.json

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,30 +57,43 @@
5757
"python.autoComplete.extraPaths": [
5858
"./src",
5959
"./mock",
60-
"./test",
60+
"./tests",
6161
"./venv2/bin",
6262
"./venv2/Lib/python2.7/site-packages",
6363
// "./venv/bin",
6464
// "./venv/Lib/python3.7/site-packages",
6565
],
66+
"python.envFile": "${workspaceFolder}/.env",
6667
"python.pythonPath": "venv2/bin/python",
6768
"python.formatting.provider": "yapf",
68-
"python.languageServer": "Microsoft",
69-
// "python.languageServer": "Pylance",
70-
"python.linting.pylintEnabled": false,
69+
"python.formatting.yapfArgs": [
70+
"--style", "{based_on_style: pep8 ,indent_width: 4, column_limit: 130}",
71+
],
72+
// "python.languageServer": "Jedi",
73+
"python.languageServer": "Pylance",
74+
// "python.languageServer": "Microsoft",
75+
"python.linting.enabled": true,
7176
"python.linting.flake8Enabled": true,
72-
"python.linting.flake8Args": ["--max-line-length=250"],
77+
"python.linting.flake8Args": [
78+
"--max-line-length=250",
79+
"--ignore=E251",
80+
"--verbose",
81+
],
82+
"python.linting.ignorePatterns": [".vscode/*.py", "**/site-packages/**/*.py"],
83+
"python.linting.lintOnSave": true,
84+
"python.linting.pylintEnabled": false,
7385
"python.testing.unittestArgs": [
7486
"-v",
7587
"-s",
76-
"./test",
88+
"./tests",
7789
"-p",
7890
"test_*.py"
7991
],
8092
"python.testing.autoTestDiscoverOnSaveEnabled": true,
8193
"python.testing.cwd": "${workspaceFolder}",
8294
"python.testing.nosetestsEnabled": false,
8395
"python.testing.pytestEnabled": false,
96+
"python.testing.promptToConfigure": true,
8497
"python.testing.unittestEnabled": true,
8598
"workbench.iconTheme": "vscode-icons",
8699
"workbench.editor.enablePreview": true,

LICENSE.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2016 The Python Packaging Authority (PyPA)
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7+
of the Software, and to permit persons to whom the Software is furnished to do
8+
so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

MANIFEST.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://packaging.python.org/guides/using-manifest-in/
2+
3+
include pyproject.toml
4+
5+
# Include the README
6+
include *.md
7+
8+
# Include the license file
9+
include LICENSE.txt
10+

0 commit comments

Comments
 (0)