From: | Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: pgAdmin 4 commit: Ignore config_local.py and config_distro.py when runn |
Date: | 2018-03-15 16:25:22 |
Message-ID: | CAKKotZQj_FR9hibMai5G6Ps7vFQykXDtA2noLuGJKA_mDS_MUQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi Dave,
On Thu, Mar 15, 2018 at 9:42 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>
> On Thu, Mar 15, 2018 at 8:30 AM, Murtuza Zabuawala <murtuza.zabuawala@
> enterprisedb.com> wrote:
>
>> On Thu, Mar 15, 2018 at 4:53 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>
>>> Hi
>>>
>>> On Thu, Mar 15, 2018 at 7:14 AM, Ashesh Vashi <
>>> ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have just noticed, we're ignoring migrations directory too.
>>>> Should we not also check code styling for migrations directory?
>>>>
>>>
>>> Yeah, I was going to ask about that :-). Is there a specific reason why
>>> we're ignoring the migrations Murtuza?
>>>
>> To ease writing long SQL's.
>>
>>
>
> Perhaps we could just skip the long line check for those files?
>
We have to create separate config for that and then run pycodestyle using
that config for migration.
1) pycodestyle --config=.pycodestyle
2) pycodestyle --config=.pycodestyle_migration
something like that, Because I checked the documentation and I didn't find
any option to have single config file for individual directories.
>
>>
>>>
>>>>
>>>> --
>>>>
>>>> Thanks & Regards,
>>>>
>>>> Ashesh Vashi
>>>> EnterpriseDB INDIA: Enterprise PostgreSQL Company
>>>> <http://www.enterprisedb.com>
>>>>
>>>>
>>>> *http://www.linkedin.com/in/asheshvashi*
>>>> <http://www.linkedin.com/in/asheshvashi>
>>>>
>>>> On Thu, Mar 15, 2018 at 4:40 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>>>
>>>>> Ignore config_local.py and config_distro.py when running PEP-8 checks.
>>>>>
>>>>> Branch
>>>>> ------
>>>>> master
>>>>>
>>>>> Details
>>>>> -------
>>>>> https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdif
>>>>> f;h=53ae960aeba0dde6109b91c171f22758b1b04ebe
>>>>>
>>>>> Modified Files
>>>>> --------------
>>>>> web/.pycodestyle | 2 +-
>>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Dave Page
>>> Blog: http://pgsnake.blogspot.com
>>> Twitter: @pgsnake
>>>
>>> EnterpriseDB UK: http://www.enterprisedb.com
>>> The Enterprise PostgreSQL Company
>>>
>>
>>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2018-03-15 17:59:34 | pgAdmin 4 commit: Ensure the cookie domain and path are properly set. F |
Previous Message | Murtuza Zabuawala | 2018-03-15 16:15:53 | [pgAdmin4][RM#3195] Include service name when executing Backup, Restore etc tools |