Skip to content

Commit

Permalink
Merge pull request #28 from replit/dstewart/chore/add-replit-config
Browse files Browse the repository at this point in the history
chore/Add replit config
  • Loading branch information
blast-hardcheese authored Mar 8, 2024
2 parents 6f29b79 + 02f530d commit 4f7e7d8
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,7 @@ junit.xml
Thumbs.db

# Potential venv
.venv
.venv

# pyright-extended development environment
python-workspace/
15 changes: 15 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
modules = ["nodejs-20:v8-20230920-bd784b9"]
hidden = [".config", "package-lock.json"]
run = "npm run build:lsp"

[gitHubImport]
requiredFiles = [".replit", "replit.nix", "package.json", "package-lock.json"]

[nix]
channel = "stable-23_11"

[unitTest]
language = "nodejs"

[languages.python.languageServer]
start = "node $REPL_HOME/packages/pyright/dist/pyright-langserver.js --stdio"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
![Pyright](https://github.com/microsoft/pyright/blob/main/docs/img/PyrightLarge.png)

[![Run on Repl.it](https://img.shields.io/badge/run-on_Replit-f26208?logo=replit)](https://repl.it/github/replit/pyright-extended) [![npm: @replit/pyright-extended](https://img.shields.io/npm/v/%40replit%2Fpyright-extended)](https://www.npmjs.com/package/@replit/pyright-extended)

Pyright is a full-featured, standards-based static type checker for Python. It is designed for high performance and can be used with large Python source bases.
Refer to [the documentation](https://microsoft.github.io/pyright) for installation, configuration, and usage details.

Expand Down
6 changes: 6 additions & 0 deletions replit.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{pkgs}: {
deps = [
pkgs.ruff
pkgs.python311Packages.yapf
];
}

0 comments on commit 4f7e7d8

Please sign in to comment.