Skip to content

Commit

Permalink
[AIRFLOW-3611] Simplified development environment (apache#4932)
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk authored Aug 27, 2019
1 parent afa7180 commit 286aa7a
Show file tree
Hide file tree
Showing 42 changed files with 2,519 additions and 80 deletions.
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 @@ -95,6 +95,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 @@ -165,6 +166,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

0 comments on commit 286aa7a

Please sign in to comment.