Skip to content

Commit c8db345

Browse files
committed
Merge remote-tracking branch 'upstream/master'
* upstream/master: Fix linters to make use of the new python code execution framework (#360) Update the versioning scheme (#356) Make npm happy in regards to line endings (#357)
2 parents b16d2f9 + 4b34f7d commit c8db345

Some content is hidden

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

44 files changed

+3435
-2418
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package.json text eol=lf
2+
package-lock.json text eol=lf

CONTRIBUTING.md

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## Contribution
2-
* Please feel free to fork and submit pull requests
1+
# Contributing to the Python extension for Visual Studio Code
2+
3+
## Contributing a pull request
34

45
### Prerequisites
56

@@ -13,7 +14,7 @@
1314

1415
### Setup
1516

16-
```
17+
```shell
1718
git clone https://github.com/microsoft/vscode-python
1819
cd vscode-python
1920
npm install
@@ -40,9 +41,10 @@ Use the `Launch Extension` launch option.
4041
Run the Unit Tests via the `Launch Test` and `Launch Multiroot Tests` launch option.
4142
Currently unit tests only run on [Travis](https://travis-ci.org/Microsoft/vscode-python)
4243

43-
_Requirements_
44+
#### Requirements
45+
4446
1. Ensure you have disabled breaking into 'Uncaught Exceptions' when running the Unit Tests
45-
2. For the linters and formatters tests to pass successfully, you will need to have those corresponding Python libraries installed locally
47+
1. For the linters and formatters tests to pass successfully, you will need to have those corresponding Python libraries installed locally
4648

4749
### Standard Debugging
4850

@@ -59,7 +61,6 @@ From there use the ```Extension + Debugger``` launch option.
5961
Information on our coding standards can be found [here](https://github.com/Microsoft/vscode-python/blob/master/CODING_STANDARDS.md).
6062
We have a pre-commit hook to ensure the code committed will adhere to the above coding standards.
6163

62-
6364
## Development process
6465

6566
To effectively contribute to this extension, it helps to know how its
@@ -208,17 +209,11 @@ it should have an appropriate `closed-` label.
208209
### Versioning
209210

210211
Starting in 2018, the extension switched to
211-
[calendar versioning](http://calver.org/) from
212-
[semantic versioning](https://semver.org/) since the extension
213-
auto-updates and thus there is no need to care about its version
214-
number in terms of backwards-compatibility. As such, the major version
215-
is the current year, the minor version is the week of the year, and
216-
the micro version is how many releases there have been that week
217-
(starting at 0). For example, a release made on July 2, 2018 would
218-
have a version number of `2018.27.0`. To easily calculate the first
219-
release of a week, you can run the following Python code:
220-
```python
221-
import datetime
222-
year, week, _ = datetime.date.today().isocalendar()
223-
print(f"{year}.{week}.0")
224-
```
212+
[calendar versioning](http://calver.org/) since the extension
213+
auto-updates and thus there is no need to track its version
214+
number for backwards-compatibility. As such, the major version
215+
is the current year, the minor version is the current month, and
216+
the micro version is how many releases there have been that month in
217+
the year (starting at 0). For example, the first release in July 2018
218+
would be `2018.7.0`, the second release that month would be
219+
`2018.7.1`, etc.

0 commit comments

Comments
 (0)