-
Notifications
You must be signed in to change notification settings - Fork 837
Add lint workflow #601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add lint workflow #601
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,3 +10,6 @@ target.cfg.d | |
| build/ | ||
| dist/ | ||
| *.egg-info | ||
|
|
||
| # Intellij IDEs | ||
| .idea | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| [project] | ||
| name = "websockify" | ||
| version = "0.13.0" | ||
| description = "Websockify." | ||
| readme = "README.md" | ||
| authors = [ | ||
| { name = "Joel Martin", email = "github@martintribe.org" } | ||
| ] | ||
| requires-python = ">=3.6" | ||
| dependencies = [ | ||
| "jwcrypto>=1.5.1", | ||
| "numpy>=1.19.0", | ||
| "redis>=4.3.0", | ||
| "requests>=2.27.0", | ||
|
Comment on lines
+11
to
+14
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure about targeting versions here, where did these come from?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They're probably the latest compatible releases with 3.7, I don't quite remember if I pulled these manually or uv did it. |
||
| ] | ||
| classifiers = [ | ||
| "Programming Language :: Python", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3 :: Only", | ||
| "Programming Language :: Python :: 3.6", | ||
| "Programming Language :: Python :: 3.7", | ||
| "Programming Language :: Python :: 3.8", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| ] | ||
| keywords = ["noVNC", "websockify"] | ||
| license = { text = "LGPLv3" } | ||
|
|
||
| [project.urls] | ||
| Repository ="https://github.com/novnc/websockify" | ||
|
|
||
| [project.scripts] | ||
| websockify = "websockify.websocketproxy:websockify_init" | ||
|
|
||
| [build-system] | ||
| requires = ["hatchling"] | ||
| build-backend = "hatchling.build" | ||
|
|
||
|
|
||
| [tool.hatch.build.targets.wheel] | ||
| packages = [ | ||
| "websockify", | ||
| ] | ||
|
|
||
| [dependency-groups] | ||
| dev = [ | ||
| "mypy>=0.971", | ||
| "ruff>=0.0.17", | ||
| ] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Local settings folders/files shouldn't be added to the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought intellij-based ide's are kind of common and adding that to
.gitignoremade sense, so contributors don't have do do that themselves. I can remove that if you want though.