-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
214 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "atproto" | ||
version = "0.0.0" # placeholder. Dynamic version from Git Tag | ||
version = "0.0.0" # This is a placeholder. Dynamic version from Git Tag will be used. | ||
description = "The AT Protocol SDK" | ||
authors = ["Ilya (Marshal) <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -20,6 +20,7 @@ classifiers = [ | |
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Software Development :: Pre-processors", | ||
|
@@ -48,18 +49,18 @@ atp = "atproto_cli:atproto_cli" | |
atproto = "atproto_cli:atproto_cli" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8,<3.13" | ||
httpx = ">=0.25.0,<0.27.0" | ||
python = ">=3.8,<3.14" | ||
httpx = ">=0.25.0,<0.28.0" | ||
typing-extensions = ">=4.8.0,<5" | ||
click = ">=8.1.3,<9" | ||
websockets = ">=12,<14" | ||
pydantic = ">=2.7,<3" | ||
libipld = ">=2.0.0,<3.0.0" | ||
libipld = ">=2.0.0,<3" | ||
dnspython = ">=2.4.0,<3" | ||
cryptography = ">=41.0.7,<43" | ||
cryptography = ">=41.0.7,<44" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
ruff = "0.1.2" | ||
ruff = "0.7.0" | ||
mypy = "1.9" | ||
pyright = "1.1.362" | ||
|
||
|
@@ -99,6 +100,13 @@ disallow_untyped_defs = false # TODO(MarshalX) enable | |
reportMissingTypeStubs = false | ||
|
||
[tool.ruff] | ||
line-length = 120 | ||
target-version = "py38" | ||
|
||
[tool.ruff.format] | ||
quote-style = "single" | ||
|
||
[tool.ruff.lint] | ||
extend-select = [ | ||
"E", # pycodestyle errors | ||
"W", # pycodestyle warnings | ||
|
@@ -129,20 +137,18 @@ extend-select = [ | |
"TID", | ||
"YTT", | ||
] | ||
line-length = 120 | ||
target-version = "py38" | ||
ignore = [ | ||
"PGH004", # use specific rule code with noqa; works bad with JetBrains IDE Warnings | ||
"ANN401", # t.Any in **kwargs | ||
"ANN002", # Missing type annotation for `*args` | ||
"ANN101", # Missing type annotation for `self` in method | ||
"ANN102", # Missing type annotation for `cls` in classmethod | ||
"D203", # we are not using blank line before class | ||
"D213", # we are using first line for summary | ||
"D203", "D413", # we are not using too many blank lines | ||
"D213", # we are using the first line for summary | ||
"D406", "D407", # we are using google style docstring | ||
] | ||
|
||
[tool.ruff.per-file-ignores] | ||
[tool.ruff.lint.per-file-ignores] | ||
"packages/*.py" = [ | ||
"D105", "D104", "D100", "D107", "D103", "D415", # missing docstring | ||
"D101", "D102", # missing docstring in public class and method | ||
|
@@ -157,10 +163,7 @@ ignore = [ | |
"packages/atproto_client/namespaces/sync_ns.py" = ["E501", "D401"] | ||
"test.py" = ["S101", "ERA001", "T201", "E501", "F401", "D"] | ||
|
||
[tool.ruff.flake8-quotes] | ||
[tool.ruff.lint.flake8-quotes] | ||
docstring-quotes = "double" | ||
multiline-quotes = "double" | ||
inline-quotes = "single" | ||
|
||
[tool.ruff.format] | ||
quote-style = "single" |