Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac M1 postgress and pre-commit flake8 update #24200

Merged
merged 1 commit into from
Jun 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions CONTRIBUTORS_QUICK_START.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Setting up Breeze

.. code-block:: bash

$ breeze --python 3.7 --backend mysql
$ breeze --python 3.7 --backend postgres

.. note::
If you encounter an error like "docker.credentials.errors.InitializationError:
Expand Down Expand Up @@ -272,7 +272,7 @@ Using Breeze
------------

1. Starting breeze environment using ``breeze start-airflow`` starts Breeze environment with last configuration run(
In this case python and backend will be picked up from last execution ``breeze --python 3.8 --backend mysql``)
In this case python and backend will be picked up from last execution ``breeze --python 3.8 --backend postgres``)
It also automatically starts webserver, backend and scheduler. It drops you in tmux with scheduler in bottom left
and webserver in bottom right. Use ``[Ctrl + B] and Arrow keys`` to navigate.

Expand Down Expand Up @@ -324,7 +324,7 @@ Using Breeze

.. code-block:: bash

$ breeze --python 3.8 --backend mysql
$ breeze --python 3.8 --backend postgres

2. Open tmux

Expand Down Expand Up @@ -515,7 +515,7 @@ To avoid burden on CI infrastructure and to save time, Pre-commit hooks can be r

$ pre-commit run black --files airflow/decorators.py tests/utils/test_task_group.py
black...............................................................Passed
$ pre-commit run flake8 --files airflow/decorators.py tests/utils/test_task_group.py
$ pre-commit run run-flake8 --files airflow/decorators.py tests/utils/test_task_group.py
Run flake8..........................................................Passed


Expand Down Expand Up @@ -612,8 +612,7 @@ All Tests are inside ./tests directory.

.. code-block:: bash

$ breeze --backend mysql --mysql-version 5.7 --python 3.8 --db-reset --test-type All tests

$ breeze --backend postgres --postgres-version 10 --python 3.8 --db-reset --test-type All tests

- Running specific type of test

Expand All @@ -623,7 +622,7 @@ All Tests are inside ./tests directory.

.. code-block:: bash

$ breeze --backend mysql --mysql-version 5.7 --python 3.8 --db-reset --test-type Core
$ breeze --backend postgres --postgres-version 10 --python 3.8 --db-reset --test-type Core


- Running Integration test for specific test type
Expand All @@ -632,7 +631,7 @@ All Tests are inside ./tests directory.

.. code-block:: bash

$ breeze --backend mysql --mysql-version 5.7 --python 3.8 --db-reset --test-type All --integration mongo
$ breeze --backend postgres --postgres-version 10 --python 3.8 --db-reset --test-type All --integration mongo


- For more information on Testing visit : |TESTING.rst|
Expand Down