Skip to content

Commit 50659c3

Browse files
committed
Added Hydrogen. fix #2.
1 parent c51dd87 commit 50659c3

5 files changed

+7
-5
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ This is a requirement of `MagicPython`
3737
10. [hyperclick][10]
3838
11. [script][11]
3939
12. [atom-isort][13]
40+
13. [hydrogen][14]
4041

4142
[1]: https://atom.io/packages/linter
4243
[2]: https://atom.io/packages/linter-ui-default
@@ -51,6 +52,7 @@ This is a requirement of `MagicPython`
5152
[11]: https://atom.io/packages/script
5253
[12]: https://atom.io
5354
[13]: https://atom.io/packages/atom-isort
55+
[14]: https://atom.io/packages/hydrogen
5456

5557

5658

atom-packages.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ minimap-linter
66
MagicPython
77
python-tools
88
python-yapf
9-
autocomplete-python
9+
autocomplete-python-jedi
1010
hyperclick
1111
script
1212
atom-isort

lib/pythonic-atom.coffee

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ module.exports =
1111
atom.config.set("core.disabledPackages", disabledPackages)
1212
else
1313
atom.config.set("core.disabledPackages", ["language-python"])
14+
atom.config.set("Hydrogen.languageMappings","{\"python\": \"magicpython\"}")
1415
spawn('pip', ['install', '-r', pythonPackages])
1516
require('atom-package-deps').install(meta.name)
16-
if not atom.config.get("pythonic-atom")
17-
atom.notifications.addSuccess("pythonic-atom : Packages Installed.")
18-
atom.config.set("pythonic-atom", 1)

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"autocomplete-python-jedi",
3030
"hyperclick",
3131
"script",
32-
"atom-isort"
32+
"atom-isort",
33+
"hydrogen"
3334
],
3435
"dependencies": {
3536
"atom-package-deps": "^4.4.1"

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
jupyter
12
pycodestyle
23
yapf
34
jedi

0 commit comments

Comments
 (0)