1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-01-23 12:37:05 +00:00

feat: added ruff for linting + requirements for local development

This commit is contained in:
tognee 2024-12-24 15:18:13 +01:00
parent 18721e42d1
commit 230a6dc7bf
3 changed files with 22 additions and 0 deletions

2
.gitignore vendored
View File

@ -7,3 +7,5 @@ externals/
.vagrant .vagrant
api/docs/api-docs.html api/docs/api-docs.html
*.code-workspace *.code-workspace
.vscode
.venv

16
dev-requirements.txt Normal file
View File

@ -0,0 +1,16 @@
rtyaml
email_validator>=1.0.0
exclusiveprocess
flask
dnspython
python-dateutil
expiringdict
gunicorn
qrcode[pil]
pyotp
idna>=2.0.0
cryptography==37.0.2
psutil
postfix-mta-sts-resolver
b2sdk
boto3

4
ruff.toml Normal file
View File

@ -0,0 +1,4 @@
exclude = ["tools/mail.py", "tools/readable_bash.py"]
[lint]
ignore = ["E701", "E401", "E722", "E741", "E402"]