-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* merge 8ee3431 π° * [8ee3431] 1.1 λ°°κ²½ λ°μ * [8ee3431] 2.1 Lint λ°μ * [8ee3431] 2.2 import λ°μ * [8ee3431] 2.3 package λ°μ * [8ee3431] 2.4 μμΈμ²λ¦¬ λ°μ * [8ee3431] 2.5 μ΄λ¦ λ³κ²½ * [8ee3431] 2.5 λ³κ²½ κ°λ₯ν μ μ μν λ°μ * [8ee3431] 2.6 μ€μ²© λ°μ * [8ee3431] 2.7 list comprehensions * [8ee3431] 2.8 κΈ°λ³Έ λ°λ³΅μμ μ°μ°μ λ°μ * [8ee3431] 2.9 μ λλ μ΄ν° λ°μ * [8ee3431] 2.10 λλ€ λ°μ * [8ee3431] 2.12 κΈ°λ³Έ μΈμ κ° λ°μ * [8ee3431] 2.14 True/False νκ° λ°μ * [8ee3431] 2.16 λ μ컬 μ€μ½ν λ°μ * [8ee3431] 2.17 ν¨μμ λ©μλ λ°μ * [8ee3431] 2.18 μ€λ λ λ°μ * [8ee3431] 2.20 νλμ νμ΄μ¬ λ°μ * [8ee3431] 2.20 μ΄λ¦ λ³κ²½ * [8ee3431] 2.21 Type μ£Όμ λ°μ * [8ee3431] 3.2 μ€ κΈΈμ΄ λ°μ * [8ee3431] 3.4 λ€μ¬μ°κΈ° λ°μ * [8ee3431] 3.5 λΉ μ€ λ°μ * [8ee3431] 3.7 Shebang_Line λ°μ * [8ee3431] 3.8 μ£Όμκ³Ό docstring λ°μ * [8ee3431] 3.10 λ¬Έμμ΄ λ°μ * [8ee3431] 3.12 TODO μ£Όμ λ°μ * [8ee3431] 3.13 import νμ λ°μ * [8ee3431] 3.16 λ€μ΄λ° λ°μ * [8ee3431] 3.19 Type μ£Όμ λ°©λ² λ°μ * [8ee3431] 4.1 λ§Ίμλ§ λ°μ * λΉλ κ²½κ³ μμ * λΉλ κ²½κ³ μμ * [8ee3431] build
- Loading branch information
Showing
37 changed files
with
2,329 additions
and
1,444 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
Google Python Style Guide/2. Python μΈμ΄ κ·μΉ/2.5 λ³κ²½ κ°λ₯ν μ μ μν.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<a id="s2.5-global-variables"></a> | ||
<a id="25-global-variables"></a> | ||
<a id="s2.5-global-state"></a> | ||
<a id="25-global-state"></a> | ||
|
||
### 2.5 λ³κ²½ κ°λ₯ν μ μ μν | ||
|
||
- λ³κ²½ κ°λ₯ν μ μ μνλ₯Ό μ¬μ©νμ§ λ§μΈμ. | ||
|
||
<a id="s2.5.1-definition"></a> | ||
|
||
#### 2.5.1 μ μ | ||
|
||
- νλ‘κ·Έλ¨ μ€ν μ€ λ³κ²½λ μ μλ λͺ¨λ μμ€μ κ°μ΄λ ν΄λμ€ μμ±μ λ§ν©λλ€. | ||
|
||
<a id="s2.5.2-pros"></a> | ||
|
||
#### 2.5.2 μ₯μ | ||
|
||
- κ°λ νΈλ¦¬ν©λλ€. | ||
|
||
<a id="s2.5.3-cons"></a> | ||
<a id="253-cons"></a> | ||
<a id="global-variables-cons"></a> | ||
|
||
#### 2.5.3 λ¨μ | ||
|
||
- μΊ‘μνκ° κΉ¨μ§λλ€. | ||
- μ΄λ¬ν μ€κ³λ μ ν¨ν λͺ©νλ₯Ό λ¬μ±νκΈ° μ΄λ ΅κ² λ§λ€ μ μμ΅λλ€. μλ₯Ό λ€λ©΄, μ μ μνλ₯Ό μ¬μ©νμ¬ λ°μ΄ν°λ² μ΄μ€ μ°κ²°μ κ΄λ¦¬νλ κ²½μ°, λ κ°μ μλ‘ λ€λ₯Έ λ°μ΄ν°λ² μ΄μ€λ₯Ό λμμ μ°κ²°νλ κ²μ΄ μ΄λ €μμ§ μ μμ΅λλ€(e.g., λ§μ΄κ·Έλ μ΄μ μ€ μ°¨μ΄λ₯Ό κ³μ°ν λ). μ μ λ μ§μ€νΈλ¦¬μμλ μ μ¬ν λ¬Έμ κ° μ½κ² λ°μν μ μμ΅λλ€. | ||
- λͺ¨λμ΄ μ²μ μν¬νΈλ λ μ μ λ³μμ λν ν λΉμ΄ μ΄λ£¨μ΄μ§κΈ° λλ¬Έμ, λͺ¨λμ λμμ μν¬νΈ μ€μ λ³κ²½ν κ°λ₯μ±μ΄ μμ΅λλ€. | ||
|
||
<a id="s2.5.4-decision"></a> | ||
<a id="254-decision"></a> | ||
<a id="global-variables-decision"></a> | ||
|
||
#### 2.5.4 κ²°λ‘ | ||
|
||
- λ³κ²½ κ°λ₯ν μ μ μνλ₯Ό μ¬μ©νμ§ λ§μΈμ. | ||
- μ μ μνλ₯Ό μ¬μ©νλ κ²μ΄ λλ¬Όκ² νμν κ²½μ°, λ³κ²½ κ°λ₯ν μ μ μν°ν°λ λͺ¨λ μμ€μ΄λ ν΄λμ€ μμ±μΌλ‘ μ μΈνκ³ , μ΄λ¦ μμ `_`λ₯Ό λΆμ¬ λ΄λΆμ μΌλ‘ μ¬μ©ν΄μΌ ν©λλ€. νμν κ²½μ°, λ³κ²½ κ°λ₯ν μ μ μνμ λν μΈλΆ μ κ·Όμ κ³΅κ° ν¨μλ ν΄λμ€ λ©μλλ₯Ό ν΅ν΄ μ΄λ£¨μ΄μ ΈμΌ ν©λλ€. [Naming](#s3.16-naming)λ₯Ό μ°Έκ³ νμΈμ. λ³κ²½ κ°λ₯ν μ μ μνλ₯Ό μ¬μ©νλ μ€κ³ μ΄μ μ λν΄μλ μ£Όμμ μ€λͺ νκ±°λ λ§ν¬λ λ¬Έμμμ μ€λͺ ν΄ μ£ΌμΈμ. | ||
- λͺ¨λ μμ€μ μμλ νμ©λλ©° κΆμ₯λ©λλ€. μλ₯Ό λ€μ΄, λ΄λΆ μ©λμ μμμλ `_MAX_HOLY_HANDGRENADE_COUNT = 3`λ₯Ό μ¬μ©νκ³ , Public API μμμλ `SIR_LANCELOTS_FAVORITE_COLOR = "blue"`λ₯Ό μ¬μ©νμΈμ. μμλ λͺ¨λ λλ¬Έμμ λ°μ€μ μ¬μ©νμ¬ λͺ λͺ ν΄μΌ ν©λλ€. [Naming](#s3.16-naming)λ₯Ό μ°Έκ³ νμΈμ. |
Oops, something went wrong.