Skip to content

Commit daabb13

Browse files
committed
chore: fix linting error
1 parent e5fdfe8 commit daabb13

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/CI.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
- name: Lint codes
5050
run: |
5151
make poetry
52-
poetry install --only lint
5352
make lint
5453
5554
# Check if the plugin doc is generated correctly

tests/plugin/data/sw_psycopg/services/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
@app.route('/users', methods=['POST', 'GET'])
2828
def application():
2929
time.sleep(0.5)
30-
connection = psycopg.connect(host='postgres', user='root', password='root', dbname='admin', port=5432)
30+
connection: psycopg.Connection = psycopg.connect(host='postgres', user='root', password='root', dbname='admin', port=5432) # type: psycopg.Connection
3131
with connection.cursor() as cursor:
3232
sql = 'select * from user where user = %s'
3333
cursor.execute(sql, ('root',))

0 commit comments

Comments
 (0)