Skip to content

Commit 286aa7a

Browse files
authored
[AIRFLOW-3611] Simplified development environment (apache#4932)
1 parent afa7180 commit 286aa7a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2519
-80
lines changed

.bash_completion

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one
4+
# or more contributor license agreements. See the NOTICE file
5+
# distributed with this work for additional information
6+
# regarding copyright ownership. The ASF licenses this file
7+
# to you under the Apache License, Version 2.0 (the
8+
# "License"); you may not use this file except in compliance
9+
# with the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
for BCFILE in "${HOME}"/.bash_completion.d/* ; do
20+
# shellcheck disable=SC1090
21+
. "${BCFILE}"
22+
done

.bash_completion.d/run-tests-complete

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../run-tests-complete

.dockerignore

+5
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
# So please do not uncomment this line ;)
5151
# !README.md
5252

53+
# Run tests command with bash completion
54+
!.bash_completion
55+
!run-tests
56+
!run-tests-complete
57+
5358
# Setup/version configuration
5459
!setup.cfg
5560
!setup.py

.gitignore

+10-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ unittests.db
1313
# Airflow temporary artifacts
1414
airflow/git_version
1515
airflow/www/static/coverage/
16+
airflow/www/static/dist
1617
airflow/www_rbac/static/coverage/
18+
airflow/www_rbac/static/dist/
19+
1720
logs/
1821
airflow-webserver.pid
1922

@@ -57,7 +60,6 @@ pip-delete-this-directory.txt
5760

5861
# Unit test / coverage reports
5962
htmlcov/
60-
.tox/
6163
.coverage
6264
.coverage.*
6365
.cache
@@ -78,6 +80,7 @@ local_settings.py
7880
# Flask stuff:
7981
instance/
8082
.webassets-cache
83+
/webserver_config.py
8184

8285
# Scrapy stuff:
8386
.scrapy
@@ -145,7 +148,6 @@ scripts/ci/kubernetes/kube/.generated/airflow.yaml
145148
*.entry.js
146149
node_modules
147150
npm-debug.log*
148-
static/dist
149151
derby.log
150152
metastore_db
151153

@@ -163,3 +165,9 @@ dmypy.json
163165
# Needed for CI Dockerfile build system
164166
.build
165167
/tmp
168+
169+
/hive_scratch_dir/
170+
/.bash_aliases
171+
/.bash_history
172+
/.inputrc
173+
log.txt*

.pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ repos:
9595
name: Add licence for shell files
9696
exclude: ^\.github/.*$"|^airflow/_vendor/.*$
9797
types: [shell]
98+
files: ^breeze$|^breeze-complete$
9899
args:
99100
- --comment-style
100101
- "|#|"
@@ -165,6 +166,7 @@ repos:
165166
language: docker_image
166167
entry: koalaman/shellcheck:stable -x -a
167168
types: [shell]
169+
files: ^breeze$|^breeze-complete$
168170
- id: lint-dockerfile
169171
name: Lint dockerfile
170172
language: system

0 commit comments

Comments
 (0)