Nate Bosch
55f81f2210
Mass format python with yapf
...
- Add `.style.yapf` with configuration to use Google style.
- Run `yapf` on all `.py` files in this repo.
- Manually fix one trailing space in a doc string.
- Run `git cl format runtime` to satisfy presubmit.
Change-Id: I7e6bd11e91f07926b9188362599af398551eed79
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111600
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2019-08-05 20:34:31 +00:00
whesse@google.com
c7d5711688
Build Tools Cleanup
...
Cleans up Python Code in Build Tools
TEST: build everything and run tests
BUG: https://code.google.com/p/dart/issues/detail?id=19592
R=ricow@google.com
Review URL: https://codereview.chromium.org//350483003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38573 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 11:47:59 +00:00
dgrove@google.com
18ca7d0036
Re-land r29957 (add versions and constraints for packages and samples), with
...
SDK constraints bumped from 1.0.0 to 0.8.10+6 .
R=ricow@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//62473002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29986 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 18:28:22 +00:00
ajohnsen@google.com
61f6c51990
Revert "add versions and constraints for packages and samples"
...
This is currently blocking us from testing samples.
BUG=
R=kasperl@google.com
Review URL: https://codereview.chromium.org//59513007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29960 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 09:09:18 +00:00
jmesserly@google.com
02638c5760
add versions and constraints for packages and samples
...
- all packages at 0.9.0, except "analyzer" which had a version already
- dependencies at ">=0.9.0 <0.10.0" except analyzer is ">=0.10.0 <0.11.0"
- sdk constraint ">=1.0.0 <2.0.0"
R=sigmund@google.com
Review URL: https://codereview.chromium.org//59763006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29957 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 03:27:58 +00:00
jmesserly@google.com
d1f780df0b
move html5lib code into dart svn repo
...
also gets the tests running
Changes to scripts:
* pkg/pkg.gyp: add 'third_party' to list of folders to search
* tools/publish_pkg.py: update copyright year
* tools/publish_all_pkgs.py: also include pkg/third_party
Changes to html5lib:
* pubspec.yaml -- removed versions
* README.md -- removed some historical notes
* added html5lib.status
* test/browser -- rename browser_tests to browser_test so test framework finds it
* test/parser_test.dart, test/parser_feature_test.dart -- moved dart:io test into parser_test so parser_feature_test can work in browser
* test/support.dart -- now finds the data folder relative to entry point script
* test/support.dart -- rename "pathos" import to "path"
Not changed:
* ./test/run.sh still works for testing, in addition to ./tools/test.dart
R=dgrove@google.com , ricow@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//22375011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26152 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:59:46 +00:00
dgrove@google.com
cb439bef40
Make generated LICENSE file look nicer.
...
Review URL: https://codereview.chromium.org//12481023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20304 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 00:43:22 +00:00
dgrove@google.com
c2aae000d0
Add SDK dependencies when pushing a package.
...
Review URL: https://codereview.chromium.org//12517013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20131 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-16 00:06:43 +00:00
sigmund@google.com
4964fd0ef9
Remove special treatment of analyzer-experimental in publish_pkg.
...
Now that analyzer-experimental is renamed (see
https://code.google.com/p/dart/issues/detail?id=9071 ), we can remove the fix for
it in tools/publish_pkg.py
Review URL: https://codereview.chromium.org//12747004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19975 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 21:54:55 +00:00
jmesserly@google.com
47bf8ce91d
fix publish for analyzer-experimental
...
Review URL: https://codereview.chromium.org//12225059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18239 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 04:09:38 +00:00
sigmund@google.com
603f5b678e
Add again useVmConfiguration for deprecation purposes. This requires adding a
...
reference to the meta package fixing publish_pkg to rewrite imports correctly.
Review URL: https://codereview.chromium.org//11819051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16991 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:35:34 +00:00
dgrove@google.com
338335ae1c
Add LICENSE if none exists, and skip .svn directories.
...
Review URL: https://codereview.chromium.org//11617022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16281 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 19:40:16 +00:00
jmesserly@google.com
da58614e53
move libraries.dart into the package if needed
...
Review URL: https://codereview.chromium.org//11628004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16243 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 05:13:54 +00:00
dgrove@google.com
030e9e267f
Don't add "+0" when SDK version number's patch is 0.
...
Review URL: https://codereview.chromium.org//11411293
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15600 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 21:14:25 +00:00
dgrove@google.com
5f45c65973
Add ability to publish package without a pubspec.
...
Review URL: https://codereview.chromium.org//11280238
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15544 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 21:56:53 +00:00
dgrove@google.com
e5bd12b67f
Add a tool to publish packages in the repo to pub.
...
Review URL: https://codereview.chromium.org//11415191
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15490 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 01:24:22 +00:00