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

9 Коммитов

Автор SHA1 Сообщение Дата
Xiaodong DENG 7597f3a6c1
Remove explicit casting to List when sorted() is applied (#12085)
sorted() returns a sorted list.
sorted(list(A)) is equivalent to sorted(A) no matter A is Tuple, List, or Set

Ref: https://docs.python.org/3/library/functions.html#sorted
2020-11-04 18:07:36 +01:00
Kaxil Naik 4e8f9cc8d0
Enable Black - Python Auto Formmatter (#9550) 2020-11-03 23:51:54 +00:00
Kaxil Naik 8c42cf1b00
Use PyUpgrade to use Python 3.6 features (#11447)
Use features like `f-strings` instead of format across the code-base.
More details: https://github.com/asottile/pyupgrade
2020-11-03 21:53:59 +00:00
Kaxil Naik 7b89a04522
Replace io.open with builtin open (#11807)
From Python 3 `io.open` is an alias for the builtin `open()` function.

Docs: https://docs.python.org/3/library/io.html#io.open
2020-10-24 05:06:33 +01:00
Jarek Potiuk 2f2d8dbfaf
Remove all "noinspection" comments native to IntelliJ (#10525)
We have already fixed a lot of problems that were marked
with those, also IntelluiJ gotten a bit smarter on not
detecting false positives as well as understand more
pylint annotation. Wherever the problem remained
we replaced it with # noqa comments - as it is
also well understood by IntelliJ.
2020-08-25 00:01:37 +02:00
Jarek Potiuk 2a889553ef
Finding cross-provider dependencies fails when encoding wrong (#9012)
This forces encoding of read python files to utf-8
2020-05-26 10:04:19 +02:00
Jarek Potiuk 92585ca4cb
Added automated release notes generation for backport operators (#8807)
We have now mechanism to keep release notes updated for the
backport operators in an automated way.

It really nicely generates all the necessary information:

* summary of requirements for each backport package
* list of dependencies (including extras to install them) when package
  depends on other providers packages
* table of new hooks/operators/sensors/protocols/secrets
* table of moved hooks/operators/sensors/protocols/secrets with
  information where they were moved from
* changelog of all the changes to the provider package (this will be
  automatically updated with incremental changelog whenever we decide to
  release separate packages.

The system is fully automated - we will be able to produce release notes
automatically (per-package) whenever we decide to release new version of
the package in the future.
2020-05-15 19:00:15 +02:00
Jarek Potiuk 7939758ee3
Remove unnecessary messages in CI (#7951) 2020-03-28 19:18:39 +01:00
Jarek Potiuk 42eef38217
[AIRFLOW-6877] Add cross-provider dependencies as extras (#7506)
Cross-provider dependencies are now extras in the backport
packages.
2020-03-07 20:55:27 +01:00