openai/openai-python

Public

mirrored fromhttps://github.com/openai/openai-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
db6ccafa7b74b72caefbda6fb63bd5c904521770

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

scripts/lint

16lines · modecode

1#!/usr/bin/env bash
2
3set -e
4
5cd "$(dirname "$0")/.."
6
7if [ "$1" = "--fix" ]; then
8 echo "==> Running lints with --fix"
9 rye run fix:ruff
10else
11 echo "==> Running lints"
12 rye run lint
13fi
14
15echo "==> Making sure it imports"
16rye run python -c 'import openai'
17