Skip to content

Commit

Permalink
Upgrade all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Aug 8, 2023
1 parent f3a2205 commit 9de8b67
Show file tree
Hide file tree
Showing 27 changed files with 8,896 additions and 8,396 deletions.
337 changes: 144 additions & 193 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,195 +1,146 @@
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"contributors": [
{
"login": "MrNaif2018",
"name": "MrNaif2018",
"avatar_url": "https://avatars3.githubusercontent.com/u/39452697?v=4",
"profile": "https://github.com/MrNaif2018",
"contributions": [
"maintenance",
"code",
"doc",
"design"
]
},
{
"login": "tomasmor42",
"name": "tomasmor42",
"avatar_url": "https://avatars2.githubusercontent.com/u/42064734?v=4",
"profile": "https://github.com/tomasmor42",
"contributions": [
"code"
]
},
{
"login": "yagicandegirmenci",
"name": "Yağız Değirmenci",
"avatar_url": "https://avatars3.githubusercontent.com/u/62724709?v=4",
"profile": "https://github.com/yagicandegirmenci",
"contributions": [
"code"
]
},
{
"login": "xiaoxianma",
"name": "Weidong Sun",
"avatar_url": "https://avatars0.githubusercontent.com/u/3086064?v=4",
"profile": "https://github.com/xiaoxianma",
"contributions": [
"code"
]
},
{
"login": "kartecianos",
"name": "kartecianos",
"avatar_url": "https://avatars2.githubusercontent.com/u/43797783?v=4",
"profile": "https://github.com/kartecianos",
"contributions": [
"code"
]
},
{
"login": "arynn-gupta",
"name": "CYBORG",
"avatar_url": "https://avatars0.githubusercontent.com/u/61794851?v=4",
"profile": "https://github.com/arynn-gupta",
"contributions": [
"design"
]
},
{
"login": "SakshamSingh-v2",
"name": "Saksham Singh",
"avatar_url": "https://avatars1.githubusercontent.com/u/55451173?v=4",
"profile": "https://github.com/SakshamSingh-v2",
"contributions": [
"design"
]
},
{
"login": "orestischaral",
"name": "Orestis Charalampakos",
"avatar_url": "https://avatars1.githubusercontent.com/u/33599092?v=4",
"profile": "https://github.com/orestischaral",
"contributions": [
"design",
"code"
]
},
{
"login": "TobyAsE",
"name": "TobyAsE",
"avatar_url": "https://avatars0.githubusercontent.com/u/6002167?v=4",
"profile": "http://tobyase.de/",
"contributions": [
"code",
"design"
]
},
{
"login": "Shadman-Ahmed-Chowdhury",
"name": "Shadman Ahmed",
"avatar_url": "https://avatars3.githubusercontent.com/u/46925021?v=4",
"profile": "https://github.com/Shadman-Ahmed-Chowdhury",
"contributions": [
"design"
]
},
{
"login": "KarolTrzeszczkowski",
"name": "Karol Trzeszczkowski",
"avatar_url": "https://avatars.githubusercontent.com/u/11697819?v=4",
"profile": "https://github.com/KarolTrzeszczkowski",
"contributions": [
"code"
]
},
{
"login": "MaximeKoitsalu",
"name": "Maxime Koitsalu",
"avatar_url": "https://avatars.githubusercontent.com/u/8655862?v=4",
"profile": "https://github.com/MaximeKoitsalu",
"contributions": [
"code",
"design"
]
},
{
"login": "shubham-singh-748",
"name": "Shubham-Singh-Rajput",
"avatar_url": "https://avatars.githubusercontent.com/u/88304238?v=4",
"profile": "https://git.io/JuT7Z",
"contributions": [
"translation"
]
},
{
"login": "Xaconi",
"name": "Nicolás Giacconi",
"avatar_url": "https://avatars.githubusercontent.com/u/1944438?v=4",
"profile": "https://github.com/Xaconi",
"contributions": [
"code",
"design"
]
},
{
"login": "leovoon",
"name": "leovoon",
"avatar_url": "https://avatars.githubusercontent.com/u/16155802?v=4",
"profile": "https://github.com/leovoon",
"contributions": [
"code",
"design",
"a11y"
]
},
{
"login": "MawsFr",
"name": "Mustapha Nezzari",
"avatar_url": "https://avatars.githubusercontent.com/u/4595534?v=4",
"profile": "https://twitter.com/mustaphanezzari",
"contributions": [
"translation"
]
},
{
"login": "surfer190",
"name": "surfer190",
"avatar_url": "https://avatars.githubusercontent.com/u/3285222?v=4",
"profile": "https://github.com/surfer190",
"contributions": [
"doc"
]
},
{
"login": "restyler",
"name": "restyler",
"avatar_url": "https://avatars.githubusercontent.com/u/775507?v=4",
"profile": "https://github.com/restyler",
"contributions": [
"doc"
]
},
{
"login": "gruve-p",
"name": "gruve-p",
"avatar_url": "https://avatars.githubusercontent.com/u/11212268?v=4",
"profile": "https://www.groestlcoin.org/",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"projectName": "bitcart",
"projectOwner": "bitcartcc",
"repoType": "github",
"repoHost": "https://github.com",
"commitConvention": "none"
"files": ["README.md"],
"imageSize": 100,
"commit": false,
"contributors": [
{
"login": "MrNaif2018",
"name": "MrNaif2018",
"avatar_url": "https://avatars3.githubusercontent.com/u/39452697?v=4",
"profile": "https://github.com/MrNaif2018",
"contributions": ["maintenance", "code", "doc", "design"]
},
{
"login": "tomasmor42",
"name": "tomasmor42",
"avatar_url": "https://avatars2.githubusercontent.com/u/42064734?v=4",
"profile": "https://github.com/tomasmor42",
"contributions": ["code"]
},
{
"login": "yagicandegirmenci",
"name": "Yağız Değirmenci",
"avatar_url": "https://avatars3.githubusercontent.com/u/62724709?v=4",
"profile": "https://github.com/yagicandegirmenci",
"contributions": ["code"]
},
{
"login": "xiaoxianma",
"name": "Weidong Sun",
"avatar_url": "https://avatars0.githubusercontent.com/u/3086064?v=4",
"profile": "https://github.com/xiaoxianma",
"contributions": ["code"]
},
{
"login": "kartecianos",
"name": "kartecianos",
"avatar_url": "https://avatars2.githubusercontent.com/u/43797783?v=4",
"profile": "https://github.com/kartecianos",
"contributions": ["code"]
},
{
"login": "arynn-gupta",
"name": "CYBORG",
"avatar_url": "https://avatars0.githubusercontent.com/u/61794851?v=4",
"profile": "https://github.com/arynn-gupta",
"contributions": ["design"]
},
{
"login": "SakshamSingh-v2",
"name": "Saksham Singh",
"avatar_url": "https://avatars1.githubusercontent.com/u/55451173?v=4",
"profile": "https://github.com/SakshamSingh-v2",
"contributions": ["design"]
},
{
"login": "orestischaral",
"name": "Orestis Charalampakos",
"avatar_url": "https://avatars1.githubusercontent.com/u/33599092?v=4",
"profile": "https://github.com/orestischaral",
"contributions": ["design", "code"]
},
{
"login": "TobyAsE",
"name": "TobyAsE",
"avatar_url": "https://avatars0.githubusercontent.com/u/6002167?v=4",
"profile": "http://tobyase.de/",
"contributions": ["code", "design"]
},
{
"login": "Shadman-Ahmed-Chowdhury",
"name": "Shadman Ahmed",
"avatar_url": "https://avatars3.githubusercontent.com/u/46925021?v=4",
"profile": "https://github.com/Shadman-Ahmed-Chowdhury",
"contributions": ["design"]
},
{
"login": "KarolTrzeszczkowski",
"name": "Karol Trzeszczkowski",
"avatar_url": "https://avatars.githubusercontent.com/u/11697819?v=4",
"profile": "https://github.com/KarolTrzeszczkowski",
"contributions": ["code"]
},
{
"login": "MaximeKoitsalu",
"name": "Maxime Koitsalu",
"avatar_url": "https://avatars.githubusercontent.com/u/8655862?v=4",
"profile": "https://github.com/MaximeKoitsalu",
"contributions": ["code", "design"]
},
{
"login": "shubham-singh-748",
"name": "Shubham-Singh-Rajput",
"avatar_url": "https://avatars.githubusercontent.com/u/88304238?v=4",
"profile": "https://git.io/JuT7Z",
"contributions": ["translation"]
},
{
"login": "Xaconi",
"name": "Nicolás Giacconi",
"avatar_url": "https://avatars.githubusercontent.com/u/1944438?v=4",
"profile": "https://github.com/Xaconi",
"contributions": ["code", "design"]
},
{
"login": "leovoon",
"name": "leovoon",
"avatar_url": "https://avatars.githubusercontent.com/u/16155802?v=4",
"profile": "https://github.com/leovoon",
"contributions": ["code", "design", "a11y"]
},
{
"login": "MawsFr",
"name": "Mustapha Nezzari",
"avatar_url": "https://avatars.githubusercontent.com/u/4595534?v=4",
"profile": "https://twitter.com/mustaphanezzari",
"contributions": ["translation"]
},
{
"login": "surfer190",
"name": "surfer190",
"avatar_url": "https://avatars.githubusercontent.com/u/3285222?v=4",
"profile": "https://github.com/surfer190",
"contributions": ["doc"]
},
{
"login": "restyler",
"name": "restyler",
"avatar_url": "https://avatars.githubusercontent.com/u/775507?v=4",
"profile": "https://github.com/restyler",
"contributions": ["doc"]
},
{
"login": "gruve-p",
"name": "gruve-p",
"avatar_url": "https://avatars.githubusercontent.com/u/11212268?v=4",
"profile": "https://www.groestlcoin.org/",
"contributions": ["code"]
}
],
"contributorsPerLine": 7,
"projectName": "bitcart",
"projectOwner": "bitcartcc",
"repoType": "github",
"repoHost": "https://github.com",
"commitConvention": "none"
}
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ repos:
hooks:
- id: check-merge-conflict
- repo: https://github.com/asottile/yesqa
rev: v1.4.0
rev: v1.5.0
hooks:
- id: yesqa
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.10.1
hooks:
- id: pyupgrade
args: ["--py38-plus"]
Expand All @@ -45,7 +45,7 @@ repos:
args: ["--remove"]
- id: detect-private-key
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
rev: v3.0.1
hooks:
- id: prettier
- repo: local
Expand Down
6 changes: 2 additions & 4 deletions api/crud/invoices.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ async def validate_stock_levels(products):
if quantity < products[product_id]:
raise HTTPException(
422,
(
f"Product {product_name} only has {quantity} items left in stock, requested {products[product_id]}."
" Please refresh your page and re-fill your cart from scratch"
),
f"Product {product_name} only has {quantity} items left in stock, requested {products[product_id]}."
" Please refresh your page and re-fill your cart from scratch",
)


Expand Down
Loading

0 comments on commit 9de8b67

Please sign in to comment.