Skip to content

Commit eb0a667

Browse files
authored
Merge pull request #1 from plotly/dev
Updating fork
2 parents a243455 + d3fcec8 commit eb0a667

File tree

96 files changed

+5179
-3176
lines changed

Some content is hidden

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

96 files changed

+5179
-3176
lines changed

.Rbuildignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ demo/.*\.js
2020
demo/.*\.html
2121
demo/.*\.css
2222

23-
# ignore python files/folders
23+
# ignore Python files/folders
2424
setup.py
2525
usage.py
2626
setup.py

.circleci/config.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
lint-unit-37: &lint-unit
1010
working_directory: ~/project
1111
docker:
12-
- image: circleci/python:3.7-stretch-node-browsers
12+
- image: circleci/python:3.7.6-stretch-node-browsers
1313
environment:
1414
PYTHON_VERSION: py37
1515
steps:
@@ -22,6 +22,7 @@ jobs:
2222
command: |
2323
sudo pip install virtualenv --upgrade
2424
python -m venv venv || virtualenv venv && . venv/bin/activate
25+
pip install --progress-bar off -e git+https://github.com/plotly/dash.git@dev#egg=dash[dev,testing]
2526
pip install --progress-bar off --no-cache-dir -r dev-requirements.txt
2627
- save_cache:
2728
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "dev-requirements.txt" }}
@@ -33,9 +34,7 @@ jobs:
3334
. venv/bin/activate
3435
set -eo pipefail
3536
npm ci
36-
npm run format:test
3737
npm run lint
38-
flake8 --ignore=E501,F401,F841,F811,W503 tests
3938
- run:
4039
name: 🔎 Unit Tests
4140
command: |
@@ -44,7 +43,7 @@ jobs:
4443
lint-unit-36:
4544
<<: *lint-unit
4645
docker:
47-
- image: circleci/python:3.6-stretch-node-browsers
46+
- image: circleci/python:3.6.9-stretch-node-browsers
4847
environment:
4948
PYTHON_VERSION: py36
5049

@@ -58,7 +57,7 @@ jobs:
5857
build-dash-37: &build-dash
5958
working_directory: ~/project
6059
docker:
61-
- image: circleci/python:3.7-stretch-node-browsers
60+
- image: circleci/python:3.7.6-stretch-node-browsers
6261
environment:
6362
PYTHON_VERSION: py37
6463
steps:
@@ -83,7 +82,7 @@ jobs:
8382
# build main dash
8483
git clone --depth 1 https://github.com/plotly/dash.git dash-main
8584
cd dash-main && pip install -e .[dev] --progress-bar off && python setup.py sdist && mv dist/* ../packages/
86-
cd dash-renderer && npm run build
85+
cd dash-renderer && npm ci && npm run build
8786
python setup.py sdist && mv dist/* ../../packages/ && cd ../..
8887
# build dcc
8988
npm ci && npm run build && python setup.py sdist && mv dist/* ./packages
@@ -99,7 +98,7 @@ jobs:
9998
build-dash-36:
10099
<<: *build-dash
101100
docker:
102-
- image: circleci/python:3.6-stretch-node-browsers
101+
- image: circleci/python:3.6.9-stretch-node-browsers
103102
environment:
104103
PYTHON_VERSION: py36
105104

@@ -113,7 +112,7 @@ jobs:
113112
test-37: &test
114113
working_directory: ~/project
115114
docker:
116-
- image: circleci/python:3.7-stretch-node-browsers
115+
- image: circleci/python:3.7.6-stretch-node-browsers
117116
environment:
118117
PYTHON_VERSION: py37
119118
PERCY_PARALLEL_TOTAL: -1
@@ -145,7 +144,7 @@ jobs:
145144
test-36:
146145
<<: *test
147146
docker:
148-
- image: circleci/python:3.6-stretch-node-browsers
147+
- image: circleci/python:3.6.9-stretch-node-browsers
149148
environment:
150149
PYTHON_VERSION: py36
151150
PERCY_ENABLE: 0
@@ -161,7 +160,7 @@ jobs:
161160
test-legacy-37: &test-legacy
162161
working_directory: ~/project
163162
docker:
164-
- image: circleci/python:3.7-stretch-node-browsers
163+
- image: circleci/python:3.7.6-stretch-node-browsers
165164
environment:
166165
PYTHON_VERSION: py37
167166
PERCY_PARALLEL_TOTAL: -1
@@ -195,7 +194,7 @@ jobs:
195194
test-legacy-36:
196195
<<: *test-legacy
197196
docker:
198-
- image: circleci/python:3.6-stretch-node-browsers
197+
- image: circleci/python:3.6.9-stretch-node-browsers
199198
environment:
200199
PYTHON_VERSION: py36
201200
PERCY_ENABLE: 0

.flake8

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[flake8]
2+
ignore = C901, E203, E266, E501, E731, W503
3+
select = B,C,E,F,W,T4
4+
per-file-ignores =
5+
tests/*: E722, F811

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
custom: https://plot.ly/products/consulting-and-oem/
1+
custom: https://plotly.com/products/consulting-and-oem/

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ build/
33
dist/
44
lib/
55
lib/bundle.js*
6+
Project.toml
67
coverage/
78
node_modules/
89
.npm
@@ -18,8 +19,10 @@ venv/
1819
/build
1920
/dash_core_components
2021
dash_core_components_base/plotly.min.js
22+
/deps
2123
/inst
2224
/man
2325
/R
26+
/src/*.jl
2427
DESCRIPTION
2528
NAMESPACE

.huskyrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "npm run lint"
4+
}
5+
}

CHANGELOG.md

Lines changed: 131 additions & 13 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ Locally](README.md#testing-locally) section of README.md.
4646

4747
If your company wishes to sponsor development of open source dash components, please [get in touch][].
4848

49-
[Dash Core Components]: https://dash.plot.ly/dash-core-components
49+
[Dash Core Components]: https://dash.plotly.com/dash-core-components
5050
[Dash HTML Components]: https://github.com/plotly/dash-html-components
51-
[write your own components]: https://dash.plot.ly/plugins
51+
[write your own components]: https://dash.plotly.com/plugins
5252
[Dash Components Archetype]: https://github.com/plotly/dash-components-archetype
5353
[issues]: https://github.com/plotly/dash-core-components/issues
5454
[GitHub flow]: https://guides.github.com/introduction/flow/
5555
[eslintrc-react.json]: https://github.com/plotly/dash-components-archetype/blob/master/config/eslint/eslintrc-react.json
5656
[contributors]: https://github.com/plotly/dash-core-components/graphs/contributors
5757
[semantic versioning]: https://semver.org/
58-
[Dash Community Forum]: https://community.plot.ly/c/dash
58+
[Dash Community Forum]: https://community.plotly.com/c/dash
5959
[Confirmation Modal component]: https://github.com/plotly/dash-core-components/pull/211#issue-195280462
60-
[Confirmation Modal announcement]: https://community.plot.ly/t/announcing-dash-confirmation-modal-feedback-welcome/11627
61-
[get in touch]: https://plot.ly/products/consulting-and-oem
60+
[Confirmation Modal announcement]: https://community.plotly.com/t/announcing-dash-confirmation-modal-feedback-welcome/11627
61+
[get in touch]: https://plotly.com/products/consulting-and-oem

MANIFEST.in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
include dash_core_components/dash_core_components.min.js
22
include dash_core_components/dash_core_components.min.js.map
3-
include dash_core_components/async~*.js
4-
include dash_core_components/async~*.js.map
5-
include dash_core_components/highlight.pack.js
3+
include dash_core_components/dash_core_components-shared.js
4+
include dash_core_components/dash_core_components-shared.js.map
5+
include dash_core_components/async-*.js
6+
include dash_core_components/async-*.js.map
67
include dash_core_components/metadata.json
78
include dash_core_components/package-info.json
89
include dash_core_components/plotly.min.js

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ See the [Publishing New Components/Features](CONTRIBUTING.md#publishing-new-comp
8181

8282
See the [dash-component-boilerplate](https://github.com/plotly/dash-component-boilerplate) repo for more information.
8383

84-
[Dash]: https://plot.ly/dash
84+
[Dash]: https://plotly.com/dash
8585
[Dash Component Boilerplate]: (https://github.com/plotly/dash-component-boilerplate)
8686
[NPM package authors]: https://www.npmjs.com/package/dash-core-components/access
8787
[PyPi]: https://pypi.python.org/pypi

0 commit comments

Comments
 (0)