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

[AIRFLOW-3611] Breeze #4932

Merged
Merged
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions .bash_completion
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
for BCFILE in "${HOME}"/.bash_completion.d/* ; do
# shellcheck disable=SC1090
. "${BCFILE}"
done
1 change: 1 addition & 0 deletions .bash_completion.d/run-tests-complete
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
# So please do not uncomment this line ;)
# !README.md

# Run tests command with bash completion
!.bash_completion
!run-tests
!run-tests-complete

# Setup/version configuration
!setup.cfg
!setup.py
Expand Down
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ unittests.db
# Airflow temporary artifacts
airflow/git_version
airflow/www/static/coverage/
airflow/www/static/dist
airflow/www_rbac/static/coverage/
airflow/www_rbac/static/dist/

logs/
airflow-webserver.pid

Expand Down Expand Up @@ -57,7 +60,6 @@ pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
Expand All @@ -78,6 +80,7 @@ local_settings.py
# Flask stuff:
instance/
.webassets-cache
/webserver_config.py

# Scrapy stuff:
.scrapy
Expand Down Expand Up @@ -145,7 +148,6 @@ scripts/ci/kubernetes/kube/.generated/airflow.yaml
*.entry.js
node_modules
npm-debug.log*
static/dist
derby.log
metastore_db

Expand All @@ -163,3 +165,9 @@ dmypy.json
# Needed for CI Dockerfile build system
.build
/tmp

/hive_scratch_dir/
/.bash_aliases
/.bash_history
/.inputrc
log.txt*
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ repos:
name: Add licence for shell files
exclude: ^\.github/.*$"|^airflow/_vendor/.*$
types: [shell]
files: ^breeze$|^breeze-complete$
args:
- --comment-style
- "|#|"
Expand Down Expand Up @@ -146,6 +147,7 @@ repos:
language: docker_image
entry: koalaman/shellcheck:stable -x -a
types: [shell]
files: ^breeze$|^breeze-complete$
- id: lint-dockerfile
name: Lint dockerfile
language: system
Expand Down
Loading