Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Kaxil Naik c353fed81a
Make airflow/migrations/env.py Pylint Compatible (#9670) 2020-07-08 12:14:51 +01:00
Ash Berlin-Taylor 6350fd6ebb
Don't use the term "whitelist" - language matters (#9174)
It's fairly common to say whitelisting and blacklisting to describe
desirable and undesirable things in cyber security. However just because
it is common doesn't mean it's right.

However, there's an issue with the terminology. It only makes sense if
you equate white with 'good, permitted, safe' and black with 'bad,
dangerous, forbidden'. There are some obvious problems with this.

You may not see why this matters. If you're not adversely affected by
racial stereotyping yourself, then please count yourself lucky. For some
of your friends and colleagues (and potential future colleagues), this
really is a change worth making.

From now on, we will use 'allow list' and 'deny list' in place of
'whitelist' and 'blacklist' wherever possible. Which, in fact, is
clearer and less ambiguous. So as well as being more inclusive of all,
this is a net benefit to our understandability.

(Words mostly borrowed from
<https://www.ncsc.gov.uk/blog-post/terminology-its-not-black-and-white>)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
2020-06-08 10:01:46 +01:00
Jiajie Zhong bf4d231c74
Enable super init not called check in pylint (#7834) 2020-03-27 16:45:05 +00:00
Kaxil Naik cc2458d96a
Pylint: Enable deprecated-* check (#7842)
Enable the following checks:

- deprecated-pragma
- deprecated-str-translate-call
- deprecated-itertools-function
- deprecated-types-field
- deprecated-operator-function
- deprecated-urllib-function
2020-03-23 18:10:00 +00:00
Kaxil Naik a7e3c11965
Pylint: Enable dict-*-not-iterating check (#7840) 2020-03-23 17:09:10 +00:00
Kaxil Naik c4ea10e0a0
Pylint: Enable deprecated-sys-function check (#7838) 2020-03-23 16:12:00 +00:00
Kaxil Naik 2db0a66e60
Pylint: Enable deprecated-string-function check (#7839) 2020-03-23 16:06:09 +00:00
Tomek Urbaszek 311140616d
[AIRFLOW-6864] Make airfow/jobs pylint compatible (#7484)
fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible

fixup! fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible

fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible

fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible

fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible

fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible

fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible

fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible

fixup! [AIRFLOW-6864] Make airfow/jobs pylint compatible
2020-02-25 22:06:46 +01:00
Kaxil Naik 7d4925b842
[AIRFLOW-6331] Pylint: Disable Missing Module Docstring (#6885) 2019-12-24 00:20:13 +00:00
Kaxil Naik 57da456854
[AIRFLOW-6333] Bump Pylint to 2.4.4 & fix/disable new checks (#6888) 2019-12-24 00:17:02 +00:00
Jarek Potiuk 25e9047a4a
[AIRFLOW-6193] Do not use asserts in Airflow main code (#6749)
* [AIRFLOW-6193] Do not use asserts in Airflow main code
2019-12-09 15:57:42 +01:00
Tomek 0b42d9ddee [AIRFLOW-5852] Make tests.www pylint compatible (#6504) 2019-11-05 19:52:03 +01:00
Kamil Breguła 76fe45e1d1 [AIRFLOW-5604] Remove duplicated isort check (#6272) 2019-10-06 18:10:47 +02:00
Kevin Yang d719e1fd67 [AIRFLOW-5362] Reorder imports (#5944) 2019-10-02 16:30:03 +01:00
Jarek Potiuk 4780105798 [AIRFLOW-5256] Related pylint changes for common licences in python files (#5786) 2019-09-17 13:16:32 +02:00
Morten Post 93ca8b87a0 [AIRFLOW-4462] Use datetime2 column types when using MSSQL backend (#5707)
Change missing columns to datetime2. All columns of datetime are
now changed to datetime2. 

Co-authored-by: mattinbits <3765307+mattinbits@users.noreply.github.com>
Co-authored-by: sirVir <sirVir@users.noreply.github.com>

pylint has poor support for alembic so alembic.op module will
fail ci if not ignored.

Fix code formatting.
2019-08-23 11:36:42 +01:00
Kamil Breguła 96933b0797 [AIRFLOW-4952] Remove unused arguments in tests (#5586) 2019-07-20 11:00:26 +02:00
Tomek dc6909f0e2 [AIRFLOW-4891] Extend list of pylint good-names (#5524) 2019-07-04 15:12:09 +02:00
Tomek 8c4633c9f4 [AIRFLOW-4859] Extend list of pylint good-names (#5496)
Nearly 10% of pylint errors are related to invalid-name of variable.
So this commit propose to add cm, db, f, dr, op to pylint good-names.
2019-06-27 21:19:57 +02:00
Jarek Potiuk 4b7667d2ad
[AIRFLOW-4659] Fix pylint problems for api module (#5398) 2019-06-10 13:53:52 +02:00