Re: More idiomatic python3 + fix some tests

From: Cyril Jouve <jv(dot)cyril(at)gmail(dot)com>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: More idiomatic python3 + fix some tests
Date: 2020-09-01 09:06:42
Message-ID: CANhjAHyDZYjfyedEyQQCt_JSnYPh9z0UBCdZtxshB5xY0d4ONg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

thanks :)

and sure, I'll run the linter next time!

have you thought of automatic code formatters instead like yapf or black?

Le lun. 31 août 2020 à 13:18, Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
a écrit :

> Hi Cyril
>
> Thanks, patch applied. Please make sure to run "yarn run pep8" before
> sending the patch.
>
> On Sat, Aug 29, 2020 at 2:28 AM Cyril Jouve <jv(dot)cyril(at)gmail(dot)com> wrote:
>
>> Hello,
>>
>> patch 1 to 6 generated mostly using 2to3:
>> 0001: https://docs.python.org/3.8/library/2to3.html#2to3fixer-asserts
>> 0002: https://docs.python.org/3.8/library/2to3.html#2to3fixer-filter
>> 0003: https://docs.python.org/3.8/library/2to3.html#2to3fixer-idioms
>> 0004: https://docs.python.org/3.8/library/2to3.html#2to3fixer-metaclass
>> 0005: https://docs.python.org/3.8/library/2to3.html#2to3fixer-xrange
>> 0006: https://docs.python.org/3.8/library/2to3.html#2to3fixer-unicode
>>
>> patch 7 fixes change_password tests:
>> Less that min length : min is 8 instead of 6
>> Valid password : use an user different than admin user / mock mail module
>>
>> patch 8 fixes ConstraintDeleteMultipleTestCase on py3.10 (using
>> simplejson like in all other modules).
>>
>> Regards,
>> Cyril
>>
>
>
> --
> *Thanks & Regards*
> *Akshay Joshi*
> *pgAdmin Hacker | Sr. Software Architect*
> *EDB Postgres <http://edbpostgres.com>*
>
> *Mobile: +91 976-788-8246*
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-09-01 09:22:02 Re: Macro Support UI Design
Previous Message Dave Page 2020-09-01 08:22:13 pgAdmin 4 commit: Fix typo